I want an AdvancedDataGridColumn to have word wrap, soI set the 
wordWrap attribute to true. The column contains an itemRenderer, which 
renders an mx:Label, which contains the actual text. But that text 
doesn't wrap.


<mx:AdvancedDataGridColumn wordWrap="true">
<mx:itemRenderer>
<mx:Component>
<mx:Label text="I am an unhappy table cell"/>
</mx:Component>
</mx:itemRenderer>
</mx:AdvancedDataGridColumn>


The reason I'm using an itemRenderer is because otherwise, tooltips 
don't work properly. They are always drawn within the cell, instead of 
appearing at the corner of the mouse cursor like they should. Putting 
the tooltip on the Label fixes the problem.

Reply via email to