:: Forum >>

How can I get the lines of the grid?

I need to test each grid's line, and change it's color according to the test result. Is there any method I can use that returns every rows in the grid?
Thanks!
J-Chist
Wednesday, September 23, 2009
I got it:

obj.defineRowProperty("Mycolor", function(row){
return this.getDataProperty("text", row, 21)=='atualizado' ? "#FF0000":"#000000";
});

obj.getRowTemplate().setStyle("color", function(){
return this.getRowProperty("Mycolor");
});


This allow me to change the color of some lines in my grid, using ActiveWidgets 1.4.
J-Chist
Wednesday, September 23, 2009

This topic is archived.


Back to support forum

Forum search