• Resolved Nick Sarro

    (@nicksarr1)


    I’m trying to use both datatables_button_filter & DataTables TableTools with the following shortcode: [table id=1datatables_button_filter=true datatables_tabletools=true /]
    but the datatools won’t show.. Only if I remove datatables_button_filter=true then it will show?

    https://ww.wp.xz.cn/plugins/tablepress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Nick Sarro

    (@nicksarr1)

    Also.. Can the table tools export images?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    It might be just in your post, but there is a space character missing in your Shortcode:

    [table id=1 datatables_button_filter=true datatables_tabletools=true /]

    if that’s not it, 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!

    The TableTools can only export images to the PDF file, I think, but to be sure, you could take a look at http://www.datatables.net/ which is the site of the TableTools JS developer.

    Regards,
    Tobias

    Thread Starter Nick Sarro

    (@nicksarr1)

    I pasted your code on the page and still not working.
    http://shirts.firebirdink.com/

    I appreciate your help

    Thread Starter Nick Sarro

    (@nicksarr1)

    I had to remove the code for now so i can keep it working. i’ll have to look into further tonight. If you have any ideas that I could try.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ok, I just checked the code of the two Extensions and I think I know what’s causing the problem: Both of the Extensions are modifying and influencing the same piece of the JavaScript initialization code of the DataTables JS library. They basically both have to tell DataTables that it needs to run an extra function. However, this process is interfered with, when both Extensions are active.

    Unfortunately, I don’t have an immediate solution to this, at the moment 🙁 It would basically be necessary to merge the Extensions into one, but as I’m very busy at the moment, I just don’t have time for this right now 🙁

    Regards,
    Tobias

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

The topic ‘datatables_button_filter & DataTables TableTools’ is closed to new replies.