You can find an example in the docs.
Basically you write a handler for the headerRelease event and use
event.preventDefault() to cancel client-side sorting.
Cheers,
Ralf

On 5/13/06, Benoit Hediard <[EMAIL PROTECTED]> wrote:
Another comment on datagrid sorting... ;)

In Flex 1.5, there was a DataGridColumn property "sortOnHeaderRelease".
All our sorting is done during the server side call, with paging, so we
don't want to use the default array collection sorting.
So we could set sortOnHeaderRelease to false and use the headerRelease event
to perform our remote paging calls.

But in Flex 2, this property has disappeared.
I havent' found any workaround yet.

Is it possible to have a headerRelease event but without any client side
sorting performed on the datagrid?
We need to keep all the sorting logic on the server side.

Benoit Hediard




------------------------ Yahoo! Groups Sponsor --------------------~-->
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to