• Resolved imincognito

    (@imincognito)


    Hey Tobias,

    I’m trying to do the following:
    – use fixed header optiomn

    I’ve got TP +
    – Change DataTables strings
    – Fixed Columns
    – Fixed Header
    – Responsive

    My desktop shortcode is:
    [table id=1 datatables_fixedcolumns_left_columns=1 datatables_fixedheader=top datatables_fixedheader_offsettop=100 /]

    My mobile/tablet shortcode is:
    [table id=1 datatables_fixedheader=top datatables_fixedheader_offsettop=60 /]

    – neither desktop nor mobile seems to be working.

    Notes
    – my tables are wrapped in an Elementor Section, Column, and Inner Section

    Per other questions on this issue, custom CSS is:
    .tablepress.fixedHeader-floating {
    z-index: 12000 !important;
    }

    Any thoughts on why this isn’t working? I’ve used datatables fixed header before in a static web environment (and it’s quirky), so I’m familiar with it, but this is the first time used it with Elementor.

    Thx!

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

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.

    For the desktop, the cause for this problem is that the FixedColumns and FixedHeader features of DataTables are currently not compatible. There seems to be some positive development there though, and I hope to be able to integrate that compatibility into TablePress soon. Unfortunately, until then, it’s not supported to use both these features at the same time, sorry.

    I’m failing to see why the FixedHeader is not working on the mobile Shortcode though. It appears that maybe the JS files are not loaded. Please test with things like JS minification and caching turned off.

    Regards,
    Tobias

    Thread Starter imincognito

    (@imincognito)

    Hi

    Thx for the quick reply.

    I now recall that datatables has this conflict. I realize you don’t control their dev, but FWIW, I think it (datatables) has reached a point where they can’t add/modify something w/o breaking sth else – more a function of lifecycle than anything.

    I’ll stick with fixed columns – fixed header (in datatables) has a few other issues.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    yes, you are probably right here. Sorry for not having better news.

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fixed Header’ is closed to new replies.