fnGetNodes on DataTables

fnGetNodes on DataTables

karanthikaranthi Posts: 1Questions: 1Answers: 0

I have tables with n columns where 2 columns have check boxes.
1st column is the table level selection.
2nd has the check box that is related to the data.

When i toggle the column level check box the check box in the 2nd column is also getting changed.

$('input', $('#table').dataTable().fnGetNodes()).prop('checked', chk);

How can i toggle the column level select all without disturbing the check boxes in the other column.

This discussion has been closed.