:: Forum >> Version 2 >>

dynamically change row color...

More information on this topic is available in the documentation section: /general.faq.releases/.

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
Thursday, November 17, 2005
Can you just do it with a style?

.aw-row-{    backgroundred; }  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
Thursday, November 17, 2005
oki, thanks i'll try the second way (i allready know the first one). I think that it's what i need.

thanks!
Friday, November 18, 2005
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?
Friday, November 18, 2005



This topic is archived.

Back to /general.faq.releases/

Documentation:

Forum search