weird.
I've set up the following and it doesn't appear to work:
<mx:DataGridColumn showDataTips="true" dataTipField="depstatus"
headerRenderer="myHeaderRenderer" id="dptrsts" resizable="false"
textAlign="center" fontWeight="bold" headerText="STS"
width="{col1.width}" headerWordWrap="true" dataField="depstatus"
labelFunction="departureStatusLabelFunction"
sortCompareFunction="sortAlpha" itemRenderer="components.renderer"/>
and my dataGrid as follows:
<mx:DataGrid width="100%" height="90%" left="0" top="60"
id="dgDelays" verticalGridLines="false" horizontalGridLines="false"
horizontalGridLineColor="white" fontWeight="normal" fontSize="12"
alternatingItemColors="[#000000,#000000]" color="#ffffff"
headerColors="[#000000, #ffffff]" rowHeight="20"
showDataTips="true"
dataProvider="{delays_xml}" itemRollOver="itemRollOverEvent(event)"
columns="{soc_cols}" textRollOverColor="black">
</mx:DataGrid>
I even tried making with width of the column smaller than the
displayed text, as I read where dataTips are only displayed
for "clipped" text, and it made no difference.
--- In [email protected], "Shannon Hicks" <[EMAIL PROTECTED]> wrote:
>
> nope... works for any list-based component.
>
> in the datagrid, you set showDataTips="true"
>
> then in the columns, you set dataTipField="fieldname"
>
> Shan
>
> _____
>
> From: [email protected]
[mailto:[EMAIL PROTECTED] On
> Behalf Of djbrown_rotonews
> Sent: Friday, June 23, 2006 2:10 PM
> To: [email protected]
> Subject: [flexcoders] Re: toolTip type behavior for
DataGridColumns?
>
>
>
> that only works for Flex Charting components though, right?
>
> --- In HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED], "Tracy
> Spratt" <tspratt@>
> wrote:
> >
> > They are called dataTips.
> >
> >
> HYPERLINK
> "http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/contr
ols"http:
> //livedocs.-macromedia.-com/labs/-1/flex20beta3/-langref/mx/-
controls
> /Da
> > taGrid.html
> >
> > Tracy
> >
> >
> >
> > ____________-_________-_________-__
> >
> > From: HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED]
> [mailto:HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED] On
> > Behalf Of djbrown_rotonews
> > Sent: Friday, June 23, 2006 11:41 AM
> > To: HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED]
> > Subject: [flexcoders] toolTip type behavior for DataGridColumns?
> >
> >
> >
> > I'm wanting to add some toolTip type behavior when the user
rolls
> over
> > some data in a DataGridColumn. It doesn't appear that the
> > DataGridColumn natively supports toolTip behavior, but is there
a
> way
> > I can mimic one via the itemRollOver event?
> >
> > Something like popping up a Label just under the current x,y
> > coordinates would suffice.
> >
>
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date:
6/21/2006
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date:
6/21/2006
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups. See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/