How to display loading notification?

I am using the grid in smart rendering mode and the data takes some time to load (especially the first time).
Is there a way to display an animated gif in the grid while the data gets populated? Or any other in progress indicator?

Thank you!

You can use “onXLE” and “onXLS” events:

mygrid.attachEvent("onXLS", function() { //show loading notification }); mygrid.attachEvent("onXLE", function() { //hide loading notification });

Example is available here dhtmlx.com/docs/products/dht … ation.html