I don't know if this is overly helpful but I normally do my initial sort on the server (It is much easier for the database to do the sorting).
If you really want to do the sort at Flex end you should sort the underlying dataprovider using the sort and sortfield classes. See: http://blog.flexexamples.com/2007/08/05/sorting-an-arraycollection-using-the-sortfield-and-sort-classes/ --- In [email protected], "sleblang" <sc...@...> wrote: > > I am looking to have a datagrid initially sort its data by one of its > columns, the date column. Is the only way to set an initial sort value > is by simulating a DataGridEvent.HEADER_RELEASE event? This is the only > solution I could seem to find > (http://www.bealearts.co.uk/blog/2007/06/15/default-sorting-for-a-flex-d\ > atagrid/ > <http://www.bealearts.co.uk/blog/2007/06/15/default-sorting-for-a-flex-d\ > atagrid/> ) . > > Thanks for any and all replies. >

