#TableToCSV
Small JavaScript class that adds a button next to your table that lets you download that table as CSV file
- jQuery
- FileSaver https://github.com/eligrey/FileSaver.js
- Include the js file at the end of your section
- Add a data-table-to-csv="filename.csv" attribute to the desired tables
<table data-table-to-csv="demo.csv">
...
</table>
That's all you need to do.
Check the demo for a detailed example.