Can't get the "CSV" export button to be displayed in the live.datatables.net
Can't get the "CSV" export button to be displayed in the live.datatables.net
lange
Posts: 9Questions: 3Answers: 0
Link to test case:
https://live.datatables.net/sozuyabe/1/edit
Description of problem:
I can't get the "CSV" export button to be displayed in the live.datatables.net. If I add the the extend: 'csv',
config. the button vanishes - without a button is displayed. I guess I make a simple mistake but I just can't find it.
Answers
The live.datatables.net environment defaults to loading jquery.js, datatables.js and datatables.css. You added this to the bottom of the HTML tab:
With this you are now loading jquery.js and datatables.js twice. This will cause problems with the buttons. Make sure to only load them once. Also you haven't loaded any
.css
files.Additionally you need to load
buttons.html5.js
for the export buttons. Updated test case.https://live.datatables.net/sozuyabe/2/edit
Kevin
Thank you Kevin!