It is an oxymoron, if you have something to highlight.
But what is the meaning if you mouseOver a column header that has only one 
function in context: That of a label to that column? 

In a similar case (that's was the reason of my previous post) I use an ADG 
where I must had to disable sorting for all columns. Then in ADG functionality 
there goes this highlight when mousing over the headers as useless and 
annoying, but confusing all together as to the meaning in context of such 
highlighting.

I concider Patrick's first post makes perfect sense as a request. I also think 
this is something that slipped in the original design of that control. My 
personnal approach as a developer is to concentrate in the business logic of my 
apps and not on how to correct mistakes/leftovers in the design of basic 
controls I buy to use. Even more so by spending time playing around with 
protected properties or, hacking the code I bought to use. IMO
 
BTW I have to thank once again all the great contributors to this forum. 
Without their excellent help, I wouldn't have gone far enough in my work. 

Thanks all
George


--- In [email protected], "valdhor" <valdhorli...@...> wrote:
>
> Isn't that an oxymoron?
> 
> A rollover highlight is a change of color isn't it? If the header retained 
> the same color there would be no "highlight".
> 
> If you could skin/style the rollovercolor to be the same as the 
> nonrollovercolor then that should achieve the required result. Of course, I 
> have no idea whether skinning/styles allows that as I have not tried it.
> 
> 
> --- In [email protected], "Tim Hoff" <TimHoff@> wrote:
> >
> > 
> > He's looking to prevent the roll-over highlight of the DataGrid header. 
> > For that object, you can't skin or change the style; except for the
> > color.
> > 
> > -TH
> > 
> > --- In [email protected], "valdhor" <valdhorlists@> wrote:
> > >
> > > Also, skinning should work. Check out http://www.munkiihouse.com/?p=14
> > >
> > >
> > > --- In [email protected], "Tim Hoff" TimHoff@ wrote:
> > > >
> > > >
> > > > Monkey patching DataGridHeader works. Just copy DataGridHeader.as
> > into
> > > > mx/controls/dataGridClasses (you'll have to create these folders in
> > the
> > > > src folder of your project), comment out the drawHeaderIndicator
> > line in
> > > > the mouseOverHandler function.
> > > >
> > > > -TH
> > > >
> > > > --- In [email protected], "Tim Hoff" <TimHoff@> wrote:
> > > > >
> > > > >
> > > > > Looks like it's drawn in the mouseOverHandler function in
> > > > > DataGridHeader.as:
> > > > >
> > > > > drawHeaderIndicator(s, r.x, 0, visibleColumns[i].width,
> > > > > cachedHeaderHeight - 0.5, getStyle("rollOverColor"), r);
> > > > >
> > > > > You'll have to try to extend DataGrid and DataGridHeader, or
> > > > monkeyPatch
> > > > > DataGridHeader.
> > > > >
> > > > > -TH
> > > > >
> > > > > --- In [email protected], "djhatrick" djhatrick@ wrote:
> > > > > >
> > > > > >
> > > > > > Ha, no that doesn't help, but things, i want to remove the mouse
> > > > Over
> > > > > highlight fill. Not the header column colors.
> > > > > >
> > > > > > Thanks
> > > > > > Patrick
> > > > > >
> > > > > >
> > > > > > --- In [email protected], "valdhor" valdhorlists@
> > wrote:
> > > > > > >
> > > > > > > Try...
> > > > > > >
> > > > > > > <mx:DataGrid headerColors="{[0xFF0000, 0xE6E6E6]}"/>
> > > > > > >
> > > > > > > or
> > > > > > >
> > > > > > > DataGrid's headerStyleName
> > > > > > >
> > > > > > > or
> > > > > > >
> > > > > > > DataGridColumn's headerRenderer
> > > > > > >
> > > > > > >
> > > > > > > --- In [email protected], "djhatrick" <djhatrick@>
> > wrote:
> > > > > > > >
> > > > > > > > but how do I remove the header highlight fill from a
> > datagrid?
> > > > > > > >
> > > > > > > > DatagridHeader is nearly impossible to override, i want to
> > kill
> > > > > that f**n fill.
> > > > > > > >
> > > > > > > > It's driving me crazy, it's a all bright white...
> > > > > > > >
> > > > > > > > BTW, looping over the children in createChildren and
> > manually
> > > > > setting focusAlpha to 0 does not help.
> > > > > > > >
> > > > > > > > Any help there.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Patrick
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Reply via email to