3.2.0

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
September 23,
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
September 23,

This topic is archived.

See also:


Back to support forum