I think you just call preventDefault on this event:

spark.events.GridSortEvent.SORT_CHANGING

Then do whatever you want.  There might be issues with the sort indicator,
then you may need a custom header renderer for that.


On 4/29/13 2:56 AM, "Adnan Doric" <[email protected]> wrote:

> Hello all,
> 
> I would like to be able to click on Datagrid headers and trigger backend
> call in order to paginate/sort/filter and send back an updated
> collection. Datagrid should just display it as is.
> 
> How can this be done with data grid sort indicators correctly reflecting
> the state "ASC" or "DESC"?
> 
> Thank you in advance for your help :)

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to