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" <[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 :)

Reply via email to