dataTipFunction should be the answer, but I don't get what you are doing
in the loop.   Can you give more detail of what you are trying to
accomplish?

 

-Alex

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of James
Sent: Thursday, May 17, 2007 10:47 AM
To: [email protected]
Subject: [flexcoders] DataGrid dynamic toolTips or dataTips

 

Hi all, my name is James Wilson, I am a flex programmer in the atlanta
area, new to the list.

On a datagrid, I'd like to display more information about the item the
user is hovering over in a tooltip, but I want to get this information
(a fair bit) dynamically based on a case number/id from the datagrid
item that is being hovered over.

The best way I can think of is to do a loop in the dataTipFunction:

public function myDataTipFunction(e:HitData):String 
{

while(httpService.lastResult == null){}
//return tooltip based on result.
}

Surely there is a better way.

Thanks everyone. Nice to meet you all. :)

James Wilson

 

Reply via email to