View Single Post
Old 12-15-2011, 06:25 PM   PM User | #1
bon_t
New Coder

 
Join Date: Jul 2010
Posts: 32
Thanks: 1
Thanked 0 Times in 0 Posts
bon_t is an unknown quantity at this point
How to disable auto-sort for AdvancedDataGrid

Hello,

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:
http://tomek.me/disable-sort-on-datagrid-edit-update/
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!
Bon :-D
bon_t is offline   Reply With Quote