• Resolved kbivens

    (@kbivens)


    Too many large tables. Yes, using tabs.
    Is there any way to get the table, in a tab, to have height and fixed columns and scroll?
    https://63c.087.myftpupload.com/compressors/#recip
    Multiple tables under compressors/ and prime-movers/

    The tables were defaulting to zero height which i understand is a conflict with using tabs and code not loading completely. I fixed that with
    .dataTables_wrapper {
    height: 800px !important;
    }

    Now the table load to a correct height and the scrolly code works. But i also want the first two columns fixed. FixedColumns worked perfect before I added the wrapper code but the table collapsed to a height of “0”

    All tables use this shortcode with the only variation on columnfilterwidgets exclude

    [table id=1 datatables_scrolly=480px datatables_fixedcolumns_left_columns=2 datatables_fixedcolumns_right_columns=0 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25 /]

    Thanks for any suggestions!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, I can’t really help here. This is pretty much all a consequence of using tabs, and I’m not aware of an automatic way to make this work better.
    The only chance that could maybe help would be to manually set the width/height of the relevant container elements. For that, all I can suggest is playing around with the CSS in the developer tools of the browser. Sorry for not having better news here ??

    Regards,
    Tobias

    Thread Starter kbivens

    (@kbivens)

    So no idea why adding the height would switch off the fixed columns?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no, sorry ?? As I’m not the developer of the JS code of the FixedColumns, I don’t know its internals that well.
    However, I’d actually think this is more the fact that it’s loaded in a tab (for table 4, which is the only using it, from what I can see).

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Table in tab, height and FixedColumn’ is closed to new replies.