have one (.headerStyle).
-TH
--- In [email protected], "Mehdi, Agha" <[EMAIL PROTECTED]>
wrote:
>
> I have this in my style.css
>
> DataGrid
> {
> alternating-row-colors:#FFFFFF, #EFEFEF;
> header-colors:#4A8AC0, #4A8AC0;
> headerStyleName:"headerStyle";
> }
> ..headerStyle
> {
> fontWeight:"bold";
> fontSize:10;
> color:#FFFFFF;
> }
>
> And it doesn't work. Do I need to set DataGrid attribute of
headerStyle to
> this class?
>
> Thanks
>
> Agha Mehdi
> IDT - eBusiness Program Manager
>
>
> -----Original Message-----
> From: [email protected]
[mailto:[EMAIL PROTECTED] On
> Behalf Of Scott Romer
> Sent: Thursday, May 11, 2006 5:31 PM
> To: [email protected]
> Subject: [flexcoders] Re: DataGridColumn Style
>
> That almost works... perhaps it just needs to be cleaned up a
bit.
> In my mxml file, I included the following:
>
> <mx:Style>
> DataGrid
> {
> headerStyleName:"headerStyle";
> headerColors:#000000,#CCD9E6;
> }
> ..headerStyle
> {
> fontWeight:"bold";
> fontSize:10;
> color:#ffffff;
> }
> </mx:Style>
>
> NOTE: It looks like you want the header text to be white. This
code
> (basically Tim's example) now sets the header Text to white, with
the
> background of the header showing as a gradient from black to
whatever
> color the #CCD9E6 is;
>
> One other change to Tim's response was the ..gridHeaderStyle,
should
> have just be a single .
>
> Try again.
>
> --- In [email protected], "Mehdi, Agha" <Agha.Mehdi@>
wrote:
> >
> > Tim,
> >
> > That didn't do it.
> >
> > Agha Mehdi
> > IDT - eBusiness Program Manager
> >
> >
> > -----Original Message-----
> > From: [email protected]
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Tim Hoff
> > Sent: Thursday, May 11, 2006 1:22 PM
> > To: [email protected]
> > Subject: [flexcoders] Re: DataGridColumn Style
> >
> > You could try something like this:
> >
> > DataGrid {
> > headerStyleName:"gridHeaderStyle";
> > headerColors:#ffffff,#CCD9E6;
> > }
> >
> > ..gridHeaderStyle
> > {
> > fontWeight:"bold";
> > fontSize:10;
> > color:#000000;
> > }
> >
> > -TH
> >
> >
> >
> >
> >
> > --- In [email protected], "Mehdi, Agha" <Agha.Mehdi@>
> > wrote:
> > >
> > > Hi all,
> > >
> > > How can I set the color of text of DataGrid Column Headers?
> > > DataGridColumn{color:#FFFFFF;} in .css is not working
> > >
> > > Thanks
> > >
> > > Agha Mehdi
> > > IDT - eBusiness Program Manager
> > > Work: 408.284.8239
> > > Cell : 510.493.0491
> > > Fax : 408.284.2766
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
>
>
>
>
>
>
>
>
> --
> 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
>
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

