How to add buttons to DataTables?
How to add buttons to DataTables?
Link to test case: https://jsbin.com/cokunuj/edit?html,output
Debugger code (debug.datatables.net): None
Error messages shown: None
Description of problem: I want to add several buttons to the table linked. The buttons are - Export ( copy, excel, csv, pdf, print results, and searchBuilder. I would appreciate a little help with the js code for the production of these buttons. If I use a DataTablesEditor generated table these buttons can be easily added which is not the case using DataTables download builder.
Thanks for any review!
John
Answers
Look at the console, you are getting this error:
When loading the JS files order is important. jquery.js needs to be loaded before the other JS files.
Kevin