tata668
12-04-2007, 06:02 PM
I have to listen to a "Sort" event on a Datagrid to be able to do some tasks related to the new index of an item in the Datagrid, once sorted.
Problem is that event "AdvancedDataGridEvent.SORT" is dispatched BEFORE the sorting is actually done! So I can't know the new index that an item will get.
I would like to listen to a event like "AdvancedDataGridEvent.SORT_ENDED" but there is no such event.
Any idea how I can know when a Datagrid is actually sorted?
Problem is that event "AdvancedDataGridEvent.SORT" is dispatched BEFORE the sorting is actually done! So I can't know the new index that an item will get.
I would like to listen to a event like "AdvancedDataGridEvent.SORT_ENDED" but there is no such event.
Any idea how I can know when a Datagrid is actually sorted?