How to add export button in Datatable Sample table?
How to add export button in Datatable Sample table?
lovertech496
Posts: 18Questions: 4Answers: 0
Hi,
I come across https://datatables.net/extensions/scroller/examples/initialisation/large_js_source.html where 50,000 records are quickly displayed.
How to add export button to the above example. I tried usualy way but it didn't work it out.
Please help me
Thanks
This question has an accepted answers - jump to answer
Answers
I copied the example you linked to into this test case:
https://live.datatables.net/nihacipu/1/edit
I used the Download Builder to get all the libraries needed to the export buttons. I used this example to get the code to define the buttons.
If this doesn't help then please post a link to your page or a test case replicating the issue so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Thank you and it got worked for export button.