views:

43

answers:

2

Is it possible to completely remove the sort arrows on an AdvancedDataGrid header?

I know that you can kinda do this by using

<mx:AdvancedDataGrid sortExpertMode="true"/>

and I even tried using

<mx:AdvancedDataGrid sortExpertMode="true">        
<mx:columns>
    <mx:AdvancedDataGridColumn sortable="false" /> 

This doesnt work because I have an automatic sort whenever one of the group items are opened. So the grid starts of great looking like this

closed group

and when we open a group we are greeted by this fiendish triangle in the header

open group

Any help will be greatly appreciated.

+1  A: 

Would a HeaderRenderer work for you?

I'm not sure, because based on your screenshot the 'arrow' that you reference doesn't look like it is in an actual header. In which case I would look into using an itemRenderer to see if that addresses it.

www.Flextras.com
+1 I found the `sortItemRenderer` property in the link that you gave and set that to `null`.
Pieter van Niekerk
A: 

I just set the sortItemRenderer property to null and it worked like a charm.

<mx:AdvancedDataGrid id="myADG" sortItemRenderer="{null}" />
Pieter van Niekerk