Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Oct 16, 2008 03:44
open dhtmlx forum
problem with onXLE event

Hi
Iam using the function mygrid.attachEvent("onXLE",function()). in my code.If i dont use grid.splitAt() function in my code XLE event is working fine.but whenever i used split function XLE function is not working.control is not going into the function.I cant understand why this error is coming.Below is the code that i used in my code.

mygrid.attachEvent("onXLE",function(){

//hide loading message here
document.getElementById('message').style.display='none';
mygrid.sortRows(0);
buttonEnableFnc();
cursorNormal();

});
After loading data in the grid control is not going in thr above funtion.Please provide me the solution.
Thanks
Answer posted by Support on Oct 16, 2008 06:04
Sample with the same code sent by email. It works correctly, the onXLE event called after all data loaded in grid. 
While it not really critical, please be sure that attachEvent command called before load|loadXML