Re: [flexcoders] Reflect column sorting in AdvancedDataGrid

2008-06-07 Thread Daniel Gold
I think if you create a Sort with the SortField that the server is sorting
by and apply that to the dataProvider, the DataGrid will check if that field
is a field in a DataGridColumn and display the sort arrow on that column.

On Fri, Jun 6, 2008 at 7:57 AM, Dennis van Nooij [EMAIL PROTECTED]
wrote:

   I'm using an AdvancedDatagrid where my sorting is done on the server
 (total result set is bigger than the list shown at client). So when I
 click a header, sort info is added to the request and result comes
 back sorted correctly. My question is: How can I provide feedback on
 how the results are sorted? Arrows on the columns are gone, probably
 because dataprovider was refreshed. Is there a way to manually enable
 those arrows again ?

  



[flexcoders] Reflect column sorting in AdvancedDataGrid

2008-06-06 Thread Dennis van Nooij
I'm using an AdvancedDatagrid where my sorting is done on the server
(total result set is bigger than the list shown at client). So when I
click a header, sort info is added to the request and result comes
back sorted correctly. My question is: How can I provide feedback on
how the results are sorted? Arrows on the columns are gone, probably
because dataprovider was refreshed. Is there a way to manually enable
those arrows again ?