This page describes how to override the drawHighlightIndicator/drawSelectionIndicators methods for the header of a DataGrid, but an AdvancedDataGrid does not have “headerClass” in mx_internal. It instead has an headerRenderer.
How can I remove those blasted highlights over an AdvancedDataGrid in Flex 3?
The graphics calls that draw that are in AdvancedDataGridBaseEx.as from lines 5468-5471:
To get rid of this you can do this in an class that extends AdvancedDataGrid:
Although that is an extremely inelegant solution since all it does is clear what has already been drawn. Because there’s so much other crap in the mouse handlers in AdvancedDataGridBaseEx you won’t easily be able to customize the appearance of the header.
A slightly more elegant (hack) solution is to copy the full source of AdvancedDataGridBaseEx into the mx.controls package (a hack I’m sure many of you are aware of and equally aware of the consequences).