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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Are you sure that you activated the Extension and added the Shortcode parameter to the Shortcode on that page?

    Regards,
    Tobias

    Thread Starter kevlarus10

    (@kevlarus10)

    yes :

    [table id=13 datatables_tabletools_fixedheader=”true” /]

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    that’s an outdated Shortcode. Please see https://tablepress.org/extensions/datatables-fixedheader/ for the correct one:
    [table id=13 datatables_fixedheader=top /]

    Regards,
    Tobias

    Thread Starter kevlarus10

    (@kevlarus10)

    I correct this, but not working & I try with offsettop=60 but still not working ??

    please help

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    great, now it’s enabled. Due to a small theme CSS conflict, we need some extra CSS. Please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress.fixedHeader-floating, .tablepress.fixedHeader-locked {
        z-index: 100;
    }

    The datatables_fixedheader_offsettop=98 parameter should then also work.

    Regards,
    Tobias

    Thread Starter kevlarus10

    (@kevlarus10)

    It works, but now the problem with the image, because the row start sticky on the “building image” and disappears before the end of the table.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    I see what you mean. The problem here is that the image with its overlay features is only added to the page after the table and the fixed header row. So, basically, the fixed header row calculates where it should start and end, and then the image is added (using JavaScript code), making the calculations wrong :-/
    Unfortunately, I don’t see a quick way to fix this. You might have to add a placeholder image first or something like that.

    Regards,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Datatables fixedheader not working’ is closed to new replies.