Skip to content

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

License

Notifications You must be signed in to change notification settings

byteweaver/TableToCSV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published