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" <timh...@...> 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