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. Required fields are marked *