Condition based data export from datatable to excel
Condition based data export from datatable to excel

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
This discussion has been closed.
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
Replies
please help
Please explain your requirements in sufficient detail.
based on deliquent value 'D', i want to export excel with current-delinquent values with only 'D'
That is done with the
rows
option ofbuttons.exportData()
. The easiest method would be to provide a function for therows
selector (seerow-selector
) which will only select rows with aD
.Allan
I need below logic inside export options then only i can able to export excel of columns having values with D but after placed in export options its showing warning..
var indexes = table.rows().eq(0).filter(function (rowIdx) {
return table.cell(rowIdx, 7).data() === 'D' ? D : C;
});
please help me!!!!
thanks
hari
Allan means something more like this:
See this example:
http://live.datatables.net/witizici/1/edit
Kevin
this is working fine
thanks kevin
hari