problem with displaying "Loading, please wait..." message
Hello
I want to display this message while the grid is loading up. At the start after I create the grid, i have the following lines of code,
var obj = new Active.Controls.Grid;
obj.setStatusProperty("code", "loading...");
document.write(obj);
...followed by all the code necessary for the grid. i.e.,
obj.setRowCount(mydata.length);
...etc
Then I have at the end,
// write grid html to the page
obj.setStatusProperty("code", "");
obj.refresh();
document.write(obj);
setTimeout('obj.refresh()', 0);
document.close();
However I am getting a javascript error saying it doesnt recognise the method, ie "Object doesnt support this property or method" for the line
obj.setStatusProperty("code", "loading...");
Can you tell me where I am going wrong?
I want to display this message while the grid is loading up. At the start after I create the grid, i have the following lines of code,
var obj = new Active.Controls.Grid;
obj.setStatusProperty("code", "loading...");
document.write(obj);
...followed by all the code necessary for the grid. i.e.,
obj.setRowCount(mydata.length);
...etc
Then I have at the end,
// write grid html to the page
obj.setStatusProperty("code", "");
obj.refresh();
document.write(obj);
setTimeout('obj.refresh()', 0);
document.close();
However I am getting a javascript error saying it doesnt recognise the method, ie "Object doesnt support this property or method" for the line
obj.setStatusProperty("code", "loading...");
Can you tell me where I am going wrong?
Lisa
July 20,