Hey Tim Hoff, thanks!

Monkey Patching works fine for my needs.  But, I really hope in Flex4, the new 
spark stuff will make my life easier!

By the way, how long till the new beta is out?  I'm waiting... patiently.


--- In [email protected], "Tim Hoff" <timh...@...> 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