progressOn for loading grid

Hi,

im attached a grid to a (layout) cell, how can i use the progressOn(); function while loading the grid?

Hello,

You may use dhxLayout.cells(id).progressOn() for cell and dhxLayout.progressOn() for complete layout.

i know that, but how can i show the loading progress when the grid is loading, and disapears when the grid is finished with loading?

You may use onXLS and onXLE events:

grid.attachEvent(“onXLS”,function(){ dhxLayout.cells(id).progressOn();});
grid.attachEvent(“onXLE”,function(){ dhxLayout.cells(id).progressOff()});