Title: Two functions for one table possible?
Last modified: January 20, 2017

---

# Two functions for one table possible?

 *  Resolved [mross55](https://wordpress.org/support/users/mross55/)
 * (@mross55)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/)
 * 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](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8677359)
 * 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
    -  This reply was modified 9 years, 6 months ago by [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/).
 *  Thread Starter [mross55](https://wordpress.org/support/users/mross55/)
 * (@mross55)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8677709)
 * Thanks Toby
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8677740)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 *  Thread Starter [mross55](https://wordpress.org/support/users/mross55/)
 * (@mross55)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8690520)
 * 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](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8690815)
 * 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](https://wordpress.org/support/users/mross55/)
 * (@mross55)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8691141)
 * Hi, here’s a link to the page [http://bit.ly/2iZJqCN](http://bit.ly/2iZJqCN)
   
   As mentioned it works ok on Desktop pc. Appreciate your help
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8691158)
 * 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](https://wordpress.org/support/users/mross55/)
 * (@mross55)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8691738)
 * thanks anyway
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8691750)
 * 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](https://wordpress.org/support/users/mross55/)
 * (@mross55)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8691834)
 * I think you’ve told me before… Who is the developer? do they provide support?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8691889)
 * Hi,
 * you could check on [http://www.datatables.net/](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.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/two-functions-for-one-table-possible/#post-8691889)
 * Status: resolved