Re: [flexcoders] Datagridcolumn sortCompareFunction

2005-05-04 Thread Jim Laing
I've solved this problem in the past by using the sort() function of the Array class, which takes a compare function as its only argument. Assuming that you are using an array as the data provider of your grid, you can sort the array and then display the sorted data in the grid. You'll have to rig

RE: [flexcoders] Datagridcolumn sortCompareFunction

2005-05-04 Thread Allen Manning
: www.prismix.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim LaingSent: 04 May 2005 15:22To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Datagridcolumn sortCompareFunction I've solved this problem in the past by using the sort() function

Re: [flexcoders] DataGridColumn sortCompareFunction arguments dua l personality

2005-02-15 Thread Robin Hilliard
Thanks Matt, had grabbed wrong end of the stick on that one. Much closer now. Noticed that the compare callback for sortItems doesn't get the third array flags argument mentioned in the docs - I was going to see if that would specify ascending or descending order, worked around by having separate

RE: [flexcoders] DataGridColumn sortCompareFunction arguments dua l personality

2005-02-15 Thread Matt Chotin
15, 2005 3:30 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DataGridColumn sortCompareFunction arguments dua l personality Thanks Matt, had grabbed wrong end of the stick on that one. Much closer now. Noticed that the compare callback for sortItems doesn't get the third array