As Amy says, DataTipFunction gets passed the entire item object.  It can
also access data elsewhere in scope.

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Manu Dhanda
Sent: Monday, October 13, 2008 10:09 PM
To: [email protected]
Subject: Re: [flexcoders] Custom Tooltip

 


I am asking to pass an object to a ToolTip rather then only a String.

Does anyone have any direction on that??

Thanks.

Amy-28 wrote:
> 
> --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , Manu Dhanda <[EMAIL PROTECTED]>

> wrote:
>>
>> 
>> ok, for an example, I have a row in the list.
>> And for it's tooltip, 
>> I want to display various characteristics (which I have in the form 
> of
>> name/value pairs in a list). 
>> Does that give you an idea??
>> 
>> ---row1
>> ---row2 (ToolTip)[has a name/value list, which can be represented 
> as a
>> tooltip]
>> ---
>> ---rowN
>> 
>> So, my concern of passing an Object to Tooltip is passing anything 
> that can
>> be an Object as in ArrayCollection/Array/String/int/image etc..
> 
> I think you may be interested in the dataTipFunction property that 
> all of the List based components have. You can set this up to use 
> the data in the current item to look up any information available to 
> the program.
> 
> HTH;
> 
> Amy
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/Custom-Tooltip-tp19953678p19965996.html
<http://www.nabble.com/Custom-Tooltip-tp19953678p19965996.html> 
Sent from the FlexCoders mailing list archive at Nabble.com.

 

Reply via email to