Hi Sharon,
if you select the “DataTables+TableTools” JavaScript library on the “Plugin Options” screen, and then activate its usage on the “Edit” screen of your table, you will get a “Print” button above the table.
That button then creates a page that only shows the table, which can then be printend with the browser’s printing function.
Best wishes,
Tobias
Thanks so much for the quick reply, I have got it now : )
Just a quick question, do you have the flexibility to have this toolbar at the bottom of the table instead of at the top?
Cheers
Sharon
Hi Sharon,
yes, that should be possible by adding some code to the DataTables loading call by using the “Custom Commands” textfield in the “DataTables JavaScript features” section on the “Edit” screen of the table.
To move the toolbar to the bottom, you could try to add
"sDom": 'lfrtip<"clear">T'
into that field.
Regards,
Tobias
Hi,
no problem, you are very welcome!
Best wishes,
Tobias
Here is a link telling you what options to change to add print functionality to your tables:
http://wordpress.org/support/topic/wp-table-reloaded-printing-table
Cheers
Erik
Hi Erik,
that link is pointing to this exact thread 🙂 Are you sure you meant to post it here and not in a different thread?
Regards,
Tobias