Call a Custom Function Before Excel Download
Call a Custom Function Before Excel Download
Antony Rayan
Posts: 2Questions: 1Answers: 0
Hi, I have n rows and I want to export the data in excel or csv or PDF.
When I click these buttons, I want to call a custom function to perform some action with database.
After performing with database, then it should download the data in selected format.
How to do?
This discussion has been closed.
Replies
You can use the customize function. Take a look at this: https://datatables.net/forums/discussion/45846/datatable-excel-export-how-can-we-apply-multiple-styles-to-same-cell/p1
and this: https://datatables.net/reference/button/excelHtml5