Reputation: 1
In my ReactJS application, I have a billing screen where users can create and preview bills. On the preview screen, there's an option to export the bill as an Excel file. I want the exported Excel file to retain the same UI design as the preview while keeping all fields editable. One approach is to export the preview as an image inside the Excel file, but I need a solution where the fields remain editable instead of being a static image.
Upvotes: 0
Views: 23
Reputation: 143
To export an HTML table from your React application to an Excel file, you can utilize the react-html-table-to-excel library. for this you need to put your content in table
Upvotes: 0