Grid Updation problem
Hi All,
I am a newbie to this component and whole JS thing.
I am using a grid in a page and data source is a "txt" file.
Everything works fine, now from server-side i make some changes in the txt file and so to update grid i am calling
It also works fine, but if the size of txt file get larger, it doesnt reload,
and it doesnt show any error msg also.
Any help will be appreciated.
Vipin
I am a newbie to this component and whole JS thing.
I am using a grid in a page and data source is a "txt" file.
// create ActiveWidgets data model - text-based table
var table = new Active.Text.Table;
// provide data URL - plain text comma-separated file
table.setURL(path);
// start asyncronous data retrieval
table.request();
// define column labels
var columns=["TIME", "NODE","GRADE","CNTL_MODE", "CPU LOAD", "MEMORY"];
var obj = new Active.Controls.Grid;
// provide column labels
obj.setColumnProperty("texts", columns);
// provide external model as a grid data source
obj.setDataModel(table);
// write grid html to the page
document.write(obj);
Everything works fine, now from server-side i make some changes in the txt file and so to update grid i am calling
table.request();
It also works fine, but if the size of txt file get larger, it doesnt reload,
and it doesnt show any error msg also.
Any help will be appreciated.
Vipin
Vipin
October 5,