WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Enabling TableTools (4 posts)

  1. mpinkerton
    Member
    Posted 1 year ago #

    In your documentation for Features of the DataTables JavaScript Library it's mentioned that I can additionally add the TableTools library to DataTables by enabling the "DataTables+TableTools" library in the "Plugin Options". Then you can enable the "Use TableTools" checkbox on the "Edit table" screen for each table individually.
    I don't see where you enable the DataTables+TableTools library in the "Plugin Options of TablePress. Therefore, I don't see the "Use TableTools" checkbox on the "Edit table" screen. My goal is to enable this so that I can enable my users to print the table. Please advise.
    Thanks!

    http://wordpress.org/extend/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for your question.

    Unfortunately, the documentation is wrong here. (I had just copied that part from the old WP-Table Reloaded docs and apparantly forgot to correct this part.)
    The TableTools add-on for DataTables is now no longer directly included in TablePress, and therefore the described checkboxes are not there.
    Instead, TableTools can be added to TablePress via a "TablePress Extension", which is basically a plugin for TablePress. To use that, just install and activate https://github.com/downloads/TobiasBg/TablePress-Extensions/tablepress-datatables-tabletools.zip just like a regular WordPress plugin. After that, just change the table's Shortcode from something like

    [table id=123 /]

    to

    [table id=123 datatables_tabletools=true /]

    Regards,
    Tobias

  3. mpinkerton
    Member
    Posted 1 year ago #

    Thanks! Got it working.

  4. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    very cool! :-) Thanks for the confirmation!

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic