Re: [flexcoders] Re: Default sorting for Datagrid

2009-02-04 Thread Adrian Williams
We handle this in a couple different fashions...for data already in the grid, (albeit for an ADG vs. a DG), by setting up a custom sorter. var sorter:Sort = new Sort(); sorter.compareFunction = sortKitNums; sorter.fields = new Array();

[flexcoders] Re: Default sorting for Datagrid

2009-02-04 Thread valdhor
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:

[flexcoders] Re: Default sorting in DataGrid

2007-12-19 Thread rueter007
look at this link. it may help. http://www.bealearts.co.uk/blog/2007/06/15/default-sorting-for-a-flex-datagrid/ - venkat http://www.venkatj.com --- In flexcoders@yahoogroups.com, m.frigge [EMAIL PROTECTED] wrote: Hi, how can i set a default column to sort a dataGrid by? I know that i could

[flexcoders] Re: Default sorting in DataGrid

2007-12-19 Thread m.frigge
You are a legend.. thanks again! That was exactly what I was looking for! Greets, Max --- In flexcoders@yahoogroups.com, rueter007 [EMAIL PROTECTED] wrote: look at this link. it may help. http://www.bealearts.co.uk/blog/2007/06/15/default-sorting-for-a-flex-datagrid/ - venkat