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"/>

flex-tooltip-datagrid

Leave a Reply

Your email address will not be published.

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!