Loading image in ListGrid

Hi team,
if i say a listgrid.setAutoFetchData(true);

how do i show a loading image or text in the list grid, untill it fetches and displays the data.

if this provision is not there, then how do i know that it has fetched the data. I need the control after fetching the data, so that i can show an image/glasspanel untill it fetches the data, then after fetching i should be able to hide the image/glasspanel.

regards
naveeN

Loading Image

Hi Naveen,
Have u find answer for this,
If u had, can u share with me?

with Regards
Shiva.

You can set it manually in list grid like :

ListGrid grid = new ListGrid();
String imgHTML = imgHTML("main/loading.png", 16, 16);
grid .setLoadingDataMessage(imgHTML + " Loading Data...");

Don’t forget to change “main/loading.png” with your desired loading image.