DJ,

I included a hack for this in the following example.  Since the column's headeRenderer is a dataGridItemRenderer (TextField), it has a toolTip property.  The headerText is set before the itemRenderer is created, so you can compare to data.text to identify the column.

http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=443 

-TH

--- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote:
>
> I've seen references to using the setValue() function of the custom
> renderer to gain access to the header itself and putting the toolTip
> code in there, but it doesn't look like setValue is called any
> longer using Beta3. any ideas/suggestions?
>
>
> --- In flexcoders@yahoogroups.com, "djbrown_rotonews"
> djbrown_rotonews@ wrote:
> >
> >
> > I'm discovered that I need to implement my own headerRenderer as
> part
> > of each DataGridColumn, but how do I go about accessing what
> column
> > I'm currently looking at. I'm wanting to add a generic
> headerRenderer
> > for all 22 columns of my DataGrid, displaying a tool tip based on
> the
> > id of the UIComponent I'm currently looking at.
> >
> >
> > --- In flexcoders@yahoogroups.com, "djbrown_rotonews"
> > <djbrown_rotonews@> wrote:
> > >
> > > I'm wanting to add toolTip for dataGrid headers, where a tool
> tip is
> > > displayed when hovering over a header of a data grid that
> displays
> > > more information about that particular column. It doesn't appear
> > than
> > > an itemRollOverEvent is generated when rolling over a header, so
> > > what's the best way to do this?
> > >
> >
>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to