Datatable export problem
Datatable export problem
Faraz_greatone
Posts: 1Questions: 1Answers: 0
Hi there i have table and data is coming from ajax, after the lenght of table i show 3 more rows to show calculate values, problem is that when i'm exporting the table i'm using format ** function in **exportOptions to render my export but it's only running for those records rows not for those extra 3 rows i am adding for calculation, cna anyone help me plz.
This discussion has been closed.
Answers
The export function will only operate on the rows which belong to the DataTable. If you are injecting some rows into the
tbody
(which is what it sounds like) you would need to use thecustomize
option of theexcelHtml5
button (and the others) to inject the extra information.Allan