Need row count of grid.. grid loaded from text file..(URGENT HELP PLEASE)....
var table = new Active.Text.Table;
table.setProperty("URL", "Data_Details.txt");
table.request();
var obj = new Active.Controls.Grid;
var row = new Active.Templates.Row;
var column = new Active.Templates.Text;
obj.setColumnCount(5);
obj.setColumnText(function(i){return myColumns[i]});
obj.setModel("data", table);
Var rowcount = table.getCount();
document.write(rowcount);
document.write(obj);
---I need rowcount no. of rows loaded into grid....
----and also based on a column value like (failure, success ,error) in the row i need to change row background color..
Please please help me.........
Thanks for your favor.
table.setProperty("URL", "Data_Details.txt");
table.request();
var obj = new Active.Controls.Grid;
var row = new Active.Templates.Row;
var column = new Active.Templates.Text;
obj.setColumnCount(5);
obj.setColumnText(function(i){return myColumns[i]});
obj.setModel("data", table);
Var rowcount = table.getCount();
document.write(rowcount);
document.write(obj);
---I need rowcount no. of rows loaded into grid....
----and also based on a column value like (failure, success ,error) in the row i need to change row background color..
Please please help me.........
Thanks for your favor.
Ted
February 11,