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

danielmariz picture danielmariz  路  3Comments

dilipsundarraj1 picture dilipsundarraj1  路  3Comments

Abdul-Hameed001 picture Abdul-Hameed001  路  3Comments

LeonHex picture LeonHex  路  3Comments

Codar97 picture Codar97  路  3Comments