Repository navigation
Exporting to CSV/XLSX etc. #2827
|
In the top right corner of https://adazzle.github.io/react-data-grid/#/common-features, I see buttons to export the data to csv/excel/pdf. I originally thought those were part of this library, but I'm starting to think that is not the case. How are those implemented? Is there a quick and easy way to add similar buttons that can convert the data in my |
Answered by
mikereczek
Feb 11, 2022
Replies: 2 comments
|
Check out these two files to see how they're implemented in the demo: https://github.com/adazzle/react-data-grid/blob/main/website/demos/exportUtils.tsx |
0 replies
Answer selected by
kovasap
|
You have to use the demo code and copy that code into your own codebase. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check out these two files to see how they're implemented in the demo:
https://github.com/adazzle/react-data-grid/blob/main/website/demos/exportUtils.tsx
https://github.com/adazzle/react-data-grid/blob/main/website/demos/CommonFeatures.tsx