flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Spark Datagrid backend sorting possible ?
Date Mon, 29 Apr 2013 16:27:34 GMT
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" <astronaute@gmail.com> 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


Mime
View raw message