hi,
I am using dhtmlxgrid 2.1 version with pagingBar and there is an option where user can do checkAll / uncheckAll
function bulkRowProcessInd(){
if(document.searchWin.CheckState.checked)
SearchGrd.checkAll();
else
SearchGrd.checkAll(0);
}
but my question only active page check boxes only checked and rest of the pages are not checked even when i say GridName.checkAll(),
Do i need to use different signature when i use Grid with PagingBar.
The command affect all rendered rows only.
To process all rows, add next line before command
function bulkRowProcessInd(){
for (var i=0; i<SearchGrd.getRowsNum(); i++) SearchGrd.render_row(i); //prerender all rows in grid
if(document.searchWin.CheckState.checked)
SearchGrd.checkAll();
else
SearchGrd.checkAll(0);
}
Beware that in case of dyn. loading, only rows, which was loaded to client side, will be updated.
Appreciate for quick reply. Working fine