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

dilipsundarraj1 picture dilipsundarraj1  路  3Comments

missmellyg85 picture missmellyg85  路  3Comments

mlajszczak picture mlajszczak  路  3Comments

alexanderwhatley picture alexanderwhatley  路  3Comments

bdkersey picture bdkersey  路  3Comments