[flexcoders] Re: Datagrid auto sorting. Has anyone done this?

2007-05-24 Thread polestar11
Thanks Alex My sort was pretty simple straight-forward, but I was doing something wrong. So eventually I ended up sub-classing the header renderer like you suggested got it to work well. I actually used your Custom Header Renderer example to get me started:

RE: [flexcoders] Re: Datagrid auto sorting. Has anyone done this?

2007-05-23 Thread Robert Chyko
[mailto:[EMAIL PROTECTED] On Behalf Of Ian M. Jones Sent: Tuesday, May 22, 2007 11:31 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Datagrid auto sorting. Has anyone done this? As a total newbie, having just seen this in the docs, I

[flexcoders] Re: Datagrid auto sorting. Has anyone done this?

2007-05-22 Thread polestar11
Hi there I tried exactly that in various different ways, but wasnt able to get it to work. I have an array, which I convert to an array collection, on which I sort and refresh, after which I set as a dataProvider for my DataGrid. Still no sort arrow is shown. I then tried extending the

Re: [flexcoders] Re: Datagrid auto sorting. Has anyone done this?

2007-05-22 Thread Ian M. Jones
As a total newbie, having just seen this in the docs, I may be totally wrong, but have you looked at the DataGrid's placeSortArrow() method? I'm not sure how you use it, but it looks promising. Regards, -- Ian M. Jones IMiJ Software

RE: [flexcoders] Re: Datagrid auto sorting. Has anyone done this?

2007-05-22 Thread Alex Harui
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of polestar11 Sent: Tuesday, May 22, 2007 6:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Datagrid auto sorting. Has anyone done this? Hi there I tried exactly that in various different ways, but wasnt