3.2.0

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
February 11,
Check this posts (last one helps more).
http://www.activewidgets.com/javascript.forum.2461.5/need-row-count-of-grid.html
http://www.activewidgets.com/javascript.forum.2503.1/need-row-count-of-grid.html
Carlos
February 11,

This topic is archived.

See also:


Back to support forum