Unable to display busy symbol while loading grid details


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.


Sachin M

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’; });

For me this changes cursor over the grid but not over the header of the grid or over header of a subgrid . Any idea how to address this problem ?



Unfortunately it’s not available to change the header cursor dynamically.
For your situation you may try to use some indicator.
For example this:
dhtmlx.com/docs/products/dht … ation.html
or such progress control in a dhtmlxLayout:
dhtmlx.com/docs/products/dht … gress.html