datatips are the responsiblity of the renderer.  Your renderer will have
to call the dataTipFunction and assign the results to a tooltip property
on some component in the renderer.
 
-Alex

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Pearson
Sent: Tuesday, April 17, 2007 2:47 PM
To: [email protected]
Subject: [flexcoders] Re: dataTipFunction on DataGridColumn with custom
itemRenderer?



I have the same problem Todd. Wondering if anyone has any insight or
if you have solved this problem.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Todd Breiholz" <[EMAIL PROTECTED]> wrote:
>
> Is it just me, or is it not possible to set a dataTipFunction on a
> DataGridColumn that uses a custom itemRenderer?
> 
> I have the following DataGridColumn defined:
> 
> 
> <mx:DataGridColumn headerText="Days" dataField="daysOfWeek"
> sortable="false" editable="false"
>
itemRenderer="com.meredith.newmedia.bhgdesktop.view.admin.blogDaysIcon"
> width="40" showDataTips="true" dataTipFunction="showDaysToolTip"/>
> 
> And my function is defined like this:
> 
> public function showDaysToolTip(obj:Object): String {
> trace("in showDaysToolTip");
> return "testing";
> }
> 
> But this is never getting called.
> 
> Am I doing something unsupported?
> 
> Thanks!
> 
> Todd
>



 

Reply via email to