I've got a dataGrid, but am using VBox's that implement IToolTip to 
generate my toolTips instead of relying on the built-in dataTip 
functionality. Every thing works fine until it comes to positioning 
the toolTips along the bottom right of the dataGrid, as the default 
behavior isn't re-positioning the toolTip correctly and I'm seeing 
most of the toolTip disappearing off the screen.

My toolTip is just a simple VBox with a simple mx:Text component, 
and I set the text property of the mx:Text component. It can be of 
varying length, and it doesn't appear that the height/width of the 
rendered VBox is being pushed up to the toolTip itself as the 
event.toolTip.width and height are 0 after I create the toolTip.

any ideas?

I'm capturing the toolTipCreate event from my DataGridColumn 
renderers (simple labels), creating a toolTip from a component that 
implements IToolTip, and then using that resulting toolTip instance 
to set the event.toolTip property.

var customToolTip:DataGridDropDeadSequenceToolTipRenderer = new  
DataGridDropDeadSequenceToolTipRenderer();
event.toolTip=customToolTip;

Reply via email to