Flex DataGrid中的DataGridColumn兑现Tooltip/Datatip
Flex DataGrid中的DataGridColumn实现Tooltip/Datatip
I had the problem that I wanted to show text in a DataGrid column which could be far longer then the available space. It was not important that the text is visible all the time so a custom cellrenderer was not needed and the solution very simple.
Just define DataGridColumn like:
<mx:DataGridColumn headerText="Text" dataField="text" dataTipField="text" showDataTips="true" />
So you have to set the dataTipField to the property of the Object you render and set showDataTips true.