Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zenoo/jquery-csvexport
Export your HTML tables to CSV format.
https://github.com/zenoo/jquery-csvexport
csv csv-export jquery jquery-plugin
Last synced: about 2 months ago
JSON representation
Export your HTML tables to CSV format.
- Host: GitHub
- URL: https://github.com/zenoo/jquery-csvexport
- Owner: Zenoo
- License: mit
- Created: 2017-05-10T10:46:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T11:21:41.000Z (almost 3 years ago)
- Last Synced: 2024-11-27T10:35:56.416Z (about 2 months ago)
- Topics: csv, csv-export, jquery, jquery-plugin
- Language: JavaScript
- Homepage:
- Size: 109 KB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# csvExport
Export your HTML tables to CSV format.
### Doc
* **Installation**
Simply import JQuery & csvExport into your HTML.
```
```
* **How to use**
Select your table(s) with a JQuery selector.
```
$('table').csvExport();
```
* **Options**
```
{
escapeContent:true, //Escapes illegal chars
title:'Exported_Table.csv', //File name
beforeStart : function(table) {}, //Triggers before anything is called
onStringReady : function(currentString) {} //Triggers when your CSV string is ready
}
```
* **Example**
```
$('table').csvExport({
title: "Table_Test.csv",
beforeStart: function(t){
console.log(t);
},
onStringReady: function(s){
console.log(s);
}
});
```## Authors
* **Zenoo** - *Initial work* - [Zenoo.fr](http://zenoo.fr)