:: Forum >>

Request for new feature

I have been using the active grid and it is brilliant. However when the data in the grid is to large or say it takes time to populate the screen is blank and the user feels that something has gone wrong. Would it possible to have a message displayed in the grid saying 'Loading data ' and then check whether the grid is ready to be painted and then paint the grid.
Thanks in advance.
User of active grid
Tuesday, April 20, 2004
The grid already does this while waiting for the XML/CSV data download (see XML examples). You can do similar thing (switching status code) for long rendering:

// set status code/text/image
obj.setStatusProperty("code", "loading");
obj.setStatusProperty("text", "Loading data, please wait...");
obj.setStatusProperty("image", "none");

// write the grid, with the status message only (fast)

// let the browser paint the grid
// clear status code
obj.setStatusProperty("code", "");
// repaint grid with data (long)
}, 0);
Alex (ActiveWidgets)
Tuesday, April 20, 2004

This topic is archived.

Back to support forum

Forum search