How can I get an array of all the DataTable rows that have their checkboxes checked?
There’s no specific method for datatable, so you need to iterate through the datatable rows and collect the checked ones:
var checked = [];
$$("dtable").data.each(function(obj){
if(obj.ch) checked.push(obj.id);
});
where obj
is an object of each subsequent data item.
Very good
I would suggest putting this example into tutorials. An exellent answer for a common usage scenario.