Datatable export problem

Datatable export problem

Faraz_greatoneFaraz_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.

Answers

  • allanallan Posts: 63,471Questions: 1Answers: 10,467 Site admin

    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 the customize option of the excelHtml5 button (and the others) to inject the extra information.

    Allan

This discussion has been closed.