3.2.0

Request for new feature

Hi,
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
April 20,
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)
document.write(obj);

// let the browser paint the grid
window.setTimeout(function(){
// clear status code
obj.setStatusProperty("code", "");
// repaint grid with data (long)
obj.refresh();
}, 0);
Alex (ActiveWidgets)
April 20,

This topic is archived.

See also:


Back to support forum