I am using http://handsontable.com/ as one of the widgets for showing prices for my project, I could not find export and import from CSV feature in their API or FAQ. Has anyone implemented or know about it ?
标签:
handsontable
相关问题
- Table filter not working with backspaces
- Refresh a handsontable
- Customize Handsontable Scroll Bar Design
- Connect HandsonTable to MySQL server
- Handsontable Save formula values
相关文章
- Customize Handsontable Scroll Bar Design
- Connect HandsonTable to MySQL server
- Handsontable Save formula values
- Save JQuery Handsontable to an excel file on serve
- CSS applied on Handsontable grid row on Scroll is
- Meteor Handsontable example
- Update handsontable by editing table and/or eventR
- Handsontable使用时,不完全呈现Chrome浏览器内置的搜索功能(Handsontable
Yup, that comment links you to the explanation on how to do it, and here is my implementation of it for anyone that wants to just reuse code. There are a few enhancements beyond the basic CSV exporting like the escaping of spaces and special characters, as well as apostrophes. It also sets the column headers if they exist so remove that line if you don't have column headers.
The relevant code assuming you have a button with id=export-csv:
Hope it helps!