:: Forum >>

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.

Ted
Friday, February 11, 2005
Check this posts (last one helps more).
/javascript.forum.2461.5/need-row-count-of-grid.html
/javascript.forum.2503.1/need-row-count-of-grid.html
Carlos
Friday, February 11, 2005

This topic is archived.


Back to support forum

Forum search