Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Export Datatable to xlsx file

Odhran priority asked 3 years ago


Expected behavior Is there a way I can export a datatable to an excel file (.xlsx)? If not, what 3rd party resources are best?

Actual behavior

Resources (screenshots, code snippets etc.)


Marcin Luczak staff answered 3 years ago


Hi,

Datatable doesn't have any internal method to export data to an excel file. For any 3rd party solutions you can check these StackOverflow posts: https://stackoverflow.com/questions/37498713/how-to-export-an-html-table-as-a-xlsx-file https://stackoverflow.com/questions/22317951/export-html-table-data-to-excel-using-javascript-jquery-is-not-working-properl

I hope this will help you,

Keep coding, Marcin



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: MDB4 4.19.2
  • Device: laptop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No