How to select all the lines ?
How to select all the lines ?
erix
Posts: 4Questions: 2Answers: 0
Hi,
Do you know how to select all the lines ? I tried something like this but it doesn't work :
oTable.rows().each(function(){
$(this).addClass('selected');
oTable.draw();
});
This discussion has been closed.
Answers
I finally found the solution which is very simple :
oTable = $('#my_table').DataTable({ ....});
oTable.rows().select();