On 3/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> DataGrid {
> headerColors: "0xDDDDDD, 0xDDDDDD";
> alternatingRowColors: "0xFFFFFF, 0xEDF3FE";
> headerHeight: 24;
> rollOverColor: 0xFFFFE0;
> }
>
> When I try to compile I get an error:
>
> CSS type selectors are not supported in components
That's weird. Is it in a Style block?
> I also have no idea if I have that syntaxt for the arrays correct, for
> headerColors and alternatingRowColors.
This is the correct syntax (but maybe yours works too):
alternatingRowColors: #FFFFFF, #EDF3FE;
The compiler knows the type of the style (Array) and the format
(color) and does the needful.
BTW, it's "alternatingItemColors"
Manish
--
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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/