How to disable auto-sort for AdvancedDataGrid
I am using Flex 4, ActionScript 3.
I want to disable auto-sort. Meaning I want the sort to be executed only when the user clicks the column header, not when new rows are added to the binded collection or when values are changed.
So far, I've found only this on the Internet:
I'd like to avoid doing that if possible.
Many months ago, I found a solution that involved using event.preventDefault() placed somewhere. I thought I wouldn't have a problem finding it again, but I am.
Can someone please help? Thanks!