my webpage get large dataset from database .
I use grid method enablePaging
this is good ,but some query spend too much time .
so i try prevent paging event and manually paging (database query paging + toolbar button). however i don’t know toolbar buttons force enable ,disable
this is code of force change image .
i change inactive image to active image , but button is disable so not work…
function grd_OnPaging(count) {
grd.aToolBar.base.childNodes[0].childNodes[0].src = ".dhtmlxGrid/codebase/imgs/ar_left_abs.gif"
//grd.aToolBar.base.childNodes[0].allowClick = true;
grd.aToolBar.base.childNodes[0].className = "dhx_toolbar_btn def"
return true;
}
help me…