I'm already using a custom header renderer. What can I do to prevent 
the behavior?

I tried all of these things, but none of them made the tooltip go 
away:

override protected function toolTipShowHandler
(event:ToolTipEvent):void
{
        event.preventDefault();
        event.stopImmediatePropagation();
        event.stopPropagation();
        event.toolTip.text = "";
        event.toolTip.enabled = false;
        event.toolTip.visible = false;
        event.toolTip.includeInLayout = false;
}



--- In [email protected], "Ryan Graham" <[EMAIL PROTECTED]> 
wrote:
>
> 
> There may be a better and easier way, or I could be wrong, but you 
might
> be able to listen for the ToolTipEvent.TOOL_TIP_START event and
> preventDefault() or stopImmediatePropagation() if the target is of 
type
> AdvancedDataGridHeaderRenderer.  Another option may be to implement 
your
> own custom header renderer which prevents this behavior.
>  
> HTH,
> Ryan
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of whatabrain
> Sent: Tuesday, September 16, 2008 4:48 PM
> To: [email protected]
> Subject: [flexcoders] showDataTips on AdvancedDataGrid column gives
> tooltip to column header
> 
> 
> 
> I have a column defined like this:
> 
> <mx:AdvancedDataGridColumn dataField="dataName" showDataTips="true" 
> dataTipField="tipData" headerText="myText/>
> 
> When the grid renders, the header is correctly labeled "myText," 
and 
> the items under the header have their proper tooltips that 
> reference "tipData." However, the header also has a tooltip. When I 
> hover over it, I see "myText."
> 
> Is there any way to turn that useless tooltip off for the header, 
while 
> keeping tips for the actual data?
> 
> 
> 
>  
> 
> 
> This message is private and confidential. If you have received it 
in error, please notify the sender and remove it from your system.
>


Reply via email to