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 flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]> wrote:
>
> Tim,
>
> That didn't do it.
>
> Agha Mehdi
> IDT - eBusiness Program Manager
>
>
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Tim Hoff
> Sent: Thursday, May 11, 2006 1:22 PM
> To: flexcoders@yahoogroups.com
> 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 flexcoders@yahoogroups.com, "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
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
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.