So how can I tell it to make the content of the datatip to be some data requiring the index of the item that is being hovered over?
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > If you are using the default renderer, set showDataTips=true > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of kenny14390 > Sent: Sunday, March 23, 2008 4:40 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Using the hovered index of a List to define a > ToolTip > > > > I searched the livedocs and couldn't find suitable documentation. Is > there a quick and painless way of doing this that you know of? > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > , "Alex Harui" <aharui@> wrote: > > > > dataTips show the full text. > > > > > > > > If you need to bake your own, start with itemRollOver event. > > > > > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > ] On > > Behalf Of kenny14390 > > Sent: Saturday, March 22, 2008 12:37 AM > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] Using the hovered index of a List to define a > > ToolTip > > > > > > > > I have a list whose data is variable, so the application must know the > > index of the item in the list that the user selects. I know clicking > > on an item will set several of the List's fields, but what about > > hovering the mouse over that item? > > > > I want to use tooltips to display the full version of the abbreviated > > text in the List. Since the user has not made a selection, I cannot > > use selectedIndex. How can I detect the index of the item over which > > the user's cursor is hovering? > > > > If a Listener is the only solution, how does it need to be done? I'm > > not familiar with making Listeners. > > > > Thanks! > > >