Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 471 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 471 Bytes

#TableToCSV

Small JavaScript class that adds a button next to your table that lets you download that table as CSV file

Reuirements

Usage

  1. Include the js file at the end of your section
  2. Add a data-table-to-csv="filename.csv" attribute to the desired tables

Example

<table data-table-to-csv="demo.csv">
...
</table>

That's all you need to do.

Check the demo for a detailed example.