Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by aalekhya on Dec 11, 2008 04:15
open dhtmlx forum
issue with splitAt and smartrendering functionality

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
Answer posted by Support on Dec 11, 2008 07:10
Which version of dhtmlxgrid you are using?
Above code snippet works correctly for dhtmlxgrid 2.0 ( working sample sent by email ) 
Attachments (1)