datatables draw selected rows

datatables draw selected rows

cap2fossecap2fosse Posts: 2Questions: 1Answers: 0

I wanted update some column on my dtable in a multi rows selection, it work for a simple row but i have a problem with multi selection. I try this :
var selectedRows = dtable.rows('.selected').data();
for (var i = 0; i < selectedRows.length; i++) {
selectedRows[i][Col1] = val1;
selectedRows[i][Col2] = val2;
selectedRows[i][Col3] = val3;
selectedRows[i][Col3] = val4;
selectedRows[i][Col4] = val5;

but it does not work, any ideas?

This question has an accepted answers - jump to answer


Sign In or Register to comment.