Alex delivers: It uses borderColor.  You can override
drawHeaderBackground() if that isn't good enough.

 

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Thursday, November 16, 2006 8:58 PM
To: [email protected]
Subject: [flexcoders] Re: How can I change the color of DataGrid
header's bottom border?

 

Hi Matt,

Thanks for responding. headerColors just lets you specify the 2 colors
to use for the gradient- I am trying to set the border on the bottom
of that gradient. I would think that would be something you could set
in the style specified by headerStyleName but as I mentioned in my
initial post, only text related properties seem to have any effect in
that style. The docs say that headerStyleName defaults to
dataGridStyles, which I can't seem to find at the moment. I found it
the other day and am pretty sure it didn't really offer any clues. I
think it only set one property if memory serves.

I really hope you or someone else can shed some light on this because
it really shouldn't be this hard to do this. I'm guessing you've got
the hookup when it comes to access to people who might know the answer
:)

Thanks,
Ben

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> And if headerColors is the wrong thing just read through the datagrid
> skins source and see what it's doing :-)
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of ben.clinkinbeard
> Sent: Thursday, November 16, 2006 1:19 PM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Re: How can I change the color of DataGrid
> header's bottom border?
> 
> 
> 
> Is this not possible?
> 
> --- In [email protected]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com>
> , "ben.clinkinbeard"
> <ben.clinkinbeard@> wrote:
> >
> > Good god skinning is harder than it should be. I have managed to
> > change the color of the vertical separators between column headers
by
> > coding my own headerSeparatorSkin class, but I cannot find where to
> > change the bottom border. I have created a custom style and assigned
> > it to headerStyleName, but only text related properties seem to do
> > anything. background-color: #FF0000; doesn't even do anything.
> > 
> > Anyone have any clue how to do this?
> > 
> > Thanks,
> > Ben
> >
>

 

Reply via email to