Hi
Iam using dhtmlgrid.In this i want to use both SplitAt() and smartRendering functionality combinely.
If i use them indivdually they work correctly
if i use them combinely after loading data in the grid the page goes in to the disabled state.
workflow is not entered into ONXLE event.Why this is happened.Here is my code
mygrid.enableSmartRendering(true);
mygrid.init();
mygrid.splitAt(1);
mygrid.attachEvent(“onXLS”,function(){
cursorWait();
pageLoad();
//show loading message here
document.getElementById(‘message’).style.display=‘block’;
});
//function called after loading the grid
mygrid.attachEvent(“onXLE”,function(){
//hide loading message here
document.getElementById(‘message’).style.display=‘none’;
mygrid.sortRows(0);
buttonEnableFnc();
cursorNormal();
});
thanks
aalekhya
Which version of dhtmlxgrid you are using?
Above code snippet works correctly for dhtmlxgrid 2.0 ( working sample sent by email )
1229008197.zip (108 KB)