Hi Veronica, Did you find how to make this work? I’m trying to use columnsToggle which uses buttons and haven’t been able to get it working yet.
Thread Starter
veronica
(@veronicalobanov)
Hi,
I contacted plugin developer and he graciously agreed to add buttons functionality to this plugin within a week or so. I am waiting! I will update here once it is done.
Thread Starter
veronica
(@veronicalobanov)
This is from the author:
Get plugin from https://github.com/samsk/wp-datatable.
Add fat=”1″ to shortcode to enable bigger DT.
He will be updating it here as well.
I have not tested yet, planning to do it within couple of days. 🙂 Hope it helps!
Plugin Author
samsk
(@samsk)
Latest plugin with added Buttons extension and export to csv/excel has been released as version 0.2.3.
For usage of Button extension see manual – https://datatables.net/extensions/buttons/.
ie.
[wp-datatable id="mtable" fat="1"]
dom: 'Bfrtip',
paging: true,
responsive: true,
ordering: true,
buttons: [
'copy', 'csv'
]
[/wp-datatable]
Note that this plugin only provides datatables functionality for your tables, to configure each table to your needs, you have to consult manual of datatables and its extensions (https://datatables.net/manual/index), and use proper config options inside of shortcode.