Adding Tooltip to Truncated Datagrid in Flex

Adding Tooltip to Truncated Datagrid in Flex

Simply set the itemRenderer to mx.controls.Label, as a Label already has truncate and tooltip functionality. And the tooltip will only show when text got truncated.

<mx:DataGridColumn paddingLeft="5" headerRenderer="renderers.ToolTipGridHeaderRenderer"

id="nameCol" itemRenderer="mx.controls.Label" minWidth="110"

headerText="Page URL" dataField="name" sortable="false"/>



Leave a Reply

Your email address will not be published. Required fields are marked *

My new Snowflake Blog is now live. I will not be updating this blog anymore but will continue with new contents in the Snowflake world!