Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sachin on Dec 03, 2008 04:20
open dhtmlx forum
Unable to display busy symbol while loading grid details

Hi,

My requirement is While loading the data into grid, display busy symbol when the move pointer moved over the grid.
I have used the following script ::

mygrid.attachEvent("onXLS",function(){ document.body.style.cursor ='wait'; });
mygrid.attachEvent("onXLE",function(){ document.body.style.cursor ='default'; });

But, still I am not getting busy symbol, when I move the cursor over the grid.


Thanks,
Sachin M
Answer posted by Support on Dec 03, 2008 04:25

The grid has own cursor setting, which cause problem in your case. To made code functional - update it in the next way

mygrid.attachEvent("onXLS",function(){ document.body.style.cursor ='wait'; this.entBox.style.cursor='wait'; }); 
mygrid.attachEvent("onXLE",function(){ document.body.style.cursor ='default'; this.entBox.style.cursor='default'; });