• Resolved Tom2708

    (@tom2708)


    Hello Tobias,
    I try to fix the first column of the table with the image.

    My recent shortcode for this is:
    [table id=1 responsive=flip datatables_fixedcolumns_left_columns=1 datatables_fixedcolumns_right_columns=0 responsive_breakpoint=desktop /]

    Unfortunately, it does not work in responsive mode on smaller screens. Your support would be appreciated very much.

    Thanks & best regards
    Thomas

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Unfortunately, using both the Responsive Tables and the FixedColumns Extensions at the same time is not possible, as their JavaScript code is not compatible.
    Please try using just the FixedColumns Extension here.

    Regards,
    Tobias

    Thread Starter Tom2708

    (@tom2708)

    Hello Tobias,
    I deactivated the Responsive Tables Extenion and changed the shortcode to
    [table id=1 datatables_fixedcolumns_left_columns=1 datatables_fixedcolumns_right_columns=0 /]

    The layout for the smaller screens has changed but it is not that what I have intended. Please have a look.

    Many thanks
    Thomas

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Thomas,

    please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress {
     table-layout: auto;
    }

    Then, there’s actually another problem: Your table is using #rowspan# to connect cells. This however is not compatible to the DataTables JavaScript library, which needs a table with all cells. Due to that, you can not actually use the FixedColumns Extension with this table (and also not the collapse mode of the Responsive Tables Extension). If you want to keep the #rowspan# your only options for responsiveness would be the scroll mode of the Extension.

    Regards,
    Tobias

    Thread Starter Tom2708

    (@tom2708)

    It works. Many thanks!

    • This reply was modified 7 years, 1 month ago by Tom2708.
    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘First Colum fixed’ is closed to new replies.