0

I have some tables on my pages, Above that, I have to give a dropdown where users can select either save the table in PDF or Excel Format.

The table is dynamically created where Header is in array form and data is a nested array of object.

Is there any best library that I can use to export to pdf and export to excel, my nested dynamic table?

1 Answers1

0

You can follow the solution the this post using html2canvas & JSPDF or install the library react-pdf and use it in your project.

Salah ED
  • 535
  • 7
  • 17