How to add buttons to DataTables?

How to add buttons to DataTables?

cchintall83cchintall83 Posts: 36Questions: 11Answers: 0

Link to test case:,output
Debugger code ( 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!


  • kthorngrenkthorngren Posts: 19,891Questions: 26Answers: 4,691

    Look at the console, you are getting this error:

    Uncaught ReferenceError: jQuery is not defined

    When loading the JS files order is important. jquery.js needs to be loaded before the other JS files.


Sign In or Register to comment.