I have a React table like this. Do we have anyway to export this table to CSV file and keep the same structure.
1 Answer
Yes, but how easy it is really depends on how the underlying state is being stored in your app.
The react-csv package allows you to pass it an array of data and add a Download button to your site, but you first need to arrange/collect the data into the right format for it.
1 Comment
Hoang Nguyen
You're right the important thing of this problem is setting up the data to the right expected format.
