If change input value in datatable with jquery it doesn't export correctly
If change input value in datatable with jquery it doesn't export correctly
jdanign
Posts: 4Questions: 2Answers: 0
I'm using this:
body: function ( data, row, column, node ) {
return (column >= 1 && column <= habitosCount) ?
$(data).find('input').val():
data;
}
It exports correctly, but when I change the value with jquery and I press the excel export button, the excel file keeps the previous value.
This discussion has been closed.
Answers
Finally I can do it using node parameter, not data in ($(node).find('input').val():):