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 http://www.freeimagehosting.net/uploads/85fd6c9816.jpg
and when we open a group we are greeted by this fiendish triangle in the header
open group http://www.freeimagehosting.net/uploads/3226375b08.jpg
Any help will be greatly appreciated.
I just set the sortItemRenderer
property to null
and it worked like a charm.
<mx:AdvancedDataGrid id="myADG" sortItemRenderer="{null}" />
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With