3.2.0

dynamically change row color...

Hi,

I'm trying to change the color of a single row dynamically in a full Grid.Extended . I've found the obj.getRowTemplate() function (and the set one), but i don't know how to build a Template. Someone can tell me where to find some solutions?

Thanks a lot.
pierre
November 17,
Can you just do it with a style?

.aw-row-3 {	background: red; }


I'm not sure what you mean by dynamic. In Javascript, it could be something like this:

obj.getRowTemplate(3).setStyle("background","red");
Brad Anderson
November 17,
oki, thanks i'll try the second way (i allready know the first one). I think that it's what i need.

thanks!
November 18,
MMMh i tryed.. It work the first time (the color changes), but when i try to change it several times, the color doesn't change anymore. I tryed a obj.refresh(); but nothing more happen...

Anyone know why?
November 18,

This topic is archived.

See also:


Back to support forum