Implement IDropInLIstItemRenderer.

The labelData will have a columnIndex where you can get the dataTipFunction and 
run it (see DataGridItemRenderer.as).  Once you have the text, you can display 
it somehow, maybe by setting a tooltip somewhere

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
mmatczynski
Sent: Monday, November 17, 2008 11:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom ItemRenderer and DataGrid/DataTips - Renderer's 
Responsibility?


I have a DataGrid with a custom ItemRenderer written as an
ActionScript class (that extends HBox). I want the DataGrid to
display datatips for this column, but no datatips appear!

I've found a few "bugs" filed about this, but apparently this works as
designed:
https://bugs.adobe.com/jira/browse/SDK-9822
"Not a bug. It is the renderer's responsibility to deal with
dataTipFunction. This is for performance reasons."

So the question is...
How does a custom ItemRenderer deal with the dataTipFunction to create
/ display the datatip?

I know the ItemRenderer is responsible, so can someone give me an
example of how to fulfill this responsibility? :)

Thanks!
Mike

Reply via email to