flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adnan Doric <astrona...@gmail.com>
Subject Re: Re: Spark Datagrid backend sorting possible ?
Date Tue, 30 Apr 2013 12:05:22 GMT
Great, that did it with Julio Carneiro's advice on indicators:

dg.columnHeaderGroup.visibleSortIndicatorIndices = new <int>[_sortColumn];

Now I can play with it to find a suitable implementation.

Thank you guys :)

Cheers,
Adnan


On 29/04/2013 18:27, Alex Harui wrote:
> 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 :)


Mime
View raw message