React-table: Option to export data

Created on 1 Nov 2017  路  2Comments  路  Source: tannerlinsley/react-table

I really like this library, an option to export the data as csv would be great. Exporting all the data in the table can be done without any problems but while using filters it should only export the current filtered data.

Is this already implemented?

All 2 comments

You can get a the filtered/sorted data in the state of the component. Check the FAQ in the github wiki.

https://github.com/react-tools/react-table/wiki/FAQ#how-do-i-get-at-the-internal-data-so-i-can-do-things-like-exporting-to-a-file

Was this page helpful?
0 / 5 - 0 ratings

Related issues

esetnik picture esetnik  路  3Comments

panfiva picture panfiva  路  3Comments

DaveyEdwards picture DaveyEdwards  路  3Comments

mlajszczak picture mlajszczak  路  3Comments

kieronsutton00 picture kieronsutton00  路  3Comments