DataGrid Headerrenderer - Header Tooltip
package mypackage
{
import mx.controls.Text;
public class DGHeaderRenderer extends Text
{
public function DGHeaderRenderer()
{
height = 20;
}
override public function set data(value:Object):void {
super.data = value;
this.toolTip = "Click to sort by this column or reverse sort order.";
super.invalidateDisplayList();
}
}
}
and use the above as
<mx:DataGridColumn id="mycol" headerText="Col" dataField="col1" headerRenderer="mypackage.
DGHeaderRenderer"/>
http://www.cflex.net/showFileDetails.cfm?ObjectID=443&Object=File&ChannelID=1
View Demo