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 flexcoders@yahoogroups.com, "valdhor" <valdhorli...@...> wrote:
>
> Also, skinning should work. Check out http://www.munkiihouse.com/?p=14
>
>
> --- In flexcoders@yahoogroups.com, "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 flexcoders@yahoogroups.com, "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 flexcoders@yahoogroups.com, "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 flexcoders@yahoogroups.com, "valdhor" valdhorlists@
wrote:
> > > > >
> > > > > Try...
> > > > >
> > > > > <mx:DataGrid headerColors="{[0xFF0000, 0xE6E6E6]}"/>
> > > > >
> > > > > or
> > > > >
> > > > > DataGrid's headerStyleName
> > > > >
> > > > > or
> > > > >
> > > > > DataGridColumn's headerRenderer
> > > > >
> > > > >
> > > > > --- In flexcoders@yahoogroups.com, "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