• Resolved mross55

    (@mross55)


    Hi,
    Is this the correct script to use to add print/pdf plus sticky header functions for the one table?

    [table id=123 responsive=mode datatables_buttons=”pdf,print” /] [datatables_fixedheader=top datatables_fixedheader_offsettop=60 /]

    I’ve tried a few variations which don’t work.
    Thanks for your help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    You are very close. Please try this new Shortcode:

    [table id=123 datatables_buttons="pdf,print" datatables_fixedheader=top datatables_fixedheader_offsettop=60 /]
    

    (with the correct table ID).

    Regards,
    Tobias

    Thread Starter mross55

    (@mross55)

    Thanks Toby

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

    Thread Starter mross55

    (@mross55)

    Hi Toby,
    The sticky header doesn’t work on the ipad, although it does on the desktop PC. Any suggestion?
    Thanks

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter mross55

    (@mross55)

    Hi, here’s a link to the page http://bit.ly/2iZJqCN
    As mentioned it works ok on Desktop pc.
    Appreciate your help

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yeah, that’s weird 🙁 In the iPad simlator in Chrome, it’s also not working properly. It seems that the fixed header is there, but it’s not in the correct position, but too high on the screen.
    Unfortunately, I don’t know how to fix that. I can only assume that this is an incompatibility in the FixedHeader JS code, but as I did not develop that, I don’t know how to fix this 🙁 Sorry.

    Regards,
    Tobias

    Thread Starter mross55

    (@mross55)

    thanks anyway

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem! I hope that this gets fixed in an updated version of that JS in the future, maybe.

    Best wishes,
    Tobias

    Thread Starter mross55

    (@mross55)

    I think you’ve told me before… Who is the developer? do they provide support?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    you could check on http://www.datatables.net/

    Regards,
    Tobias

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Two functions for one table possible?’ is closed to new replies.