Conditionally check all checkboxes
Conditionally check all checkboxes
I have a check all checkboxes button that uses: $('input', oTable.fnGetNodes()).attr('checked','checked');
However, how can I conditionally check a checkbox depending on certain values in the datatable? So I am looping through the table and based on a flag I would like to only check the checkbox if it meets this criteria. This is partial loop code.
for(i=0; i
However, how can I conditionally check a checkbox depending on certain values in the datatable? So I am looping through the table and based on a flag I would like to only check the checkbox if it meets this criteria. This is partial loop code.
for(i=0; i
This discussion has been closed.