Quantcast
Channel: DataTables 1.9 — DataTables forums
Viewing all articles
Browse latest Browse all 1816

Datatable check/uncheck 'All'

$
0
0
Hi Allan,

Am using datatables in one of my projects. Am doing select All/None with the following code
$('#check_all').click( function() {
         $('input', oTable.fnGetNodes()).attr('checked', this.checked);
})
Say if I have 10 rows. Initially if I select few rows (say 4 and 5) then unselect it and then click on check All. Those 2 rows(4 and 5) are not checked. But when checked in source (Inspect element/firebug) check box says as checked.

Your help is appreciated.

Thanks,
Rizwan

Viewing all articles
Browse latest Browse all 1816

Trending Articles