HI,
I have searched for a few hours now no luck...

I have an advanced datagrid, with a lot of columns showing small check mark
icon for boolean value.

To make the columns smaller, I made a simple headerRenderer that rotates the
labels 90 degrees, so they run vertical.

but I lose the sort arrow these columns.. Looking the docs


[url]http://livedocs.adobe.com/flex/3/langref/mx/controls/advancedDataGridClasses/Adv[/url]
ancedDataGridHeaderRenderer.html

under

sortItemRenderer

Note that the sort item renderer controls the display of the sort icon and
sort sequence number. A custom header renderer must include code to display the
sort item renderer, regardless of whether it is the default or custom sort item
renderer.

How do I call that from my code




<?xml version="1.0" encoding="utf-8"?>
<HBox xmlns="http://www.adobe.com/2006/mxml" verticalAlign="middle"
height="100"
horizontalAlign="center" horizontalScrollPolicy="off"
verticalScrollPolicy="off">
<Script>
<![CDATA[
[Embed(systemFont='Verdana', fontName='myVerdana',
mimeType='application/x-font', unicodeRange='U+0020-U+007E')]
public var myVerdana:Class;

import mx.controls.advancedDataGridClasses.AdvancedDataGr idColumn;
import mx.managers.SystemManager;

[Bindable] private var text:String;
[Bindable] private var src:String;

override public function set data(value:Object):void{
var col:AdvancedDataGridColumn = value as AdvancedDataGridColumn;
trace(col.headerText);
text = col.headerText;
}
]]>
</Script>
<Label id="headerLabel" text="{text}" fontFamily="myVerdana" rotation="90"
width="100%" height="100%"
/>
</HBox>