How to reset the selected rows and select all rows on external button click? i am trying to resetSelection() but not working ...
jQuery("selectAll").click(function(){
jQuery('.cbox').trigger('click');
});
jQuery("clear").click(function(){
var grid = $("#list10");
grid.resetSelection();
$('#cb_my_grid').click();
var ids = grid.getDataIDs();
for (var i=0, il=ids.length; i < il; i++ )
grid.setSelection(ids[i], false);
});