I have been trying these for considerable amount of time without any
real success. I am new to Flex and using Flex 2 Beta 2.

My GataGrid gets displayed with some data from a DB. To group data I
want to set backgroundColor of collection of consecutive rows (not
alternate row) with one color and next lot with another color, and
so on.

Any help on this?

Another problem is to set backgroundColor of columns. I managed to
set this at runtime (compile time methods as stated in the docs
doesn't work) using dgColumn.setStyle("backgroundColor", 0x00FFFF);
But this works only after the comiplation of page loading. That is,
if I call this from a button click event it works. If I call this
from creationComplete event of the Application, it doesn't work.

Any idea?

Thanks for your help.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to