Most of the time, folks just need to pick out one field from the data object, often the same as the label. Leaving dataTipFunction as null and setting dataField works for those situations. If dataTipFunction is not null, the datatips are always shown. If you must use dataTipFunction, I would subclass the item renderer and alter then its tooltip property is null.
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stuartward Sent: Monday, April 07, 2008 8:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Datatip in datagrid not working properly Thank you very much for your reply. So it seems the documentation is not correct regarding datatips. Please help me understand your statement, "Otherwise, it should require clipped text." --- Does this mean that if I used another function or property it would work as I want it to? How do I accomplish showing a tooltip/datatip-like feature only for cells with clipped text? Thanks, Stuart --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > If you used dataTipFunction, it will show up regardless of clipping. > Otherwise, it should require clipped text. > > > > ________________________________ > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of stuartward > Sent: Sunday, April 06, 2008 2:34 PM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Datatip in datagrid not working properly > > > > I have enabled showDataTips in the columns of a datagrid. The datatips > show up for all cells regardless of whether the text is clipped or not. > > According to the Flex 3 documentation: > "If you enable data tips, they only appear for fields where the data is > clipped." > > I only want to show the datatip for cells that have clipped text. What > am I doing wrong? > > Thanks for your help, > Stuart >