Re: [flexcoders] DataGrid multi column sort - where is the sort arrow ?
On Monday 15 Oct 2007, [EMAIL PROTECTED] wrote: It works fine, but now the sortArrow disapeared and I can not change the sort direction. I've tried to use the placeSortArrow() function, but this function seems not to exist in the SDK I'm using (Flex 3 Beta 2). There is example code in Jira for progmatically sorting an ADG: https://bugs.adobe.com/jira/browse/FLEXDMV-1097 -- Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has done some ColdFusion work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] DataGrid multi column sort - where is the sort arrow ?
Dg ui does not support multicol sort. I recommend custom dg headerrenderers that will show the columns involved. Our adg is using numbers in the arrows iirc From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rleuthold Sent: Monday, October 15, 2007 3:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid multi column sort - where is the sort arrow ? Ok, I have implemented the multiple column sort (thanks for the help Alex). It works fine, but now the sortArrow disapeared and I can not change the sort direction. I've tried to use the placeSortArrow() function, but this function seems not to exist in the SDK I'm using (Flex 3 Beta 2). Why is that ? Any idea ? Thank's ... _rico --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: The datagrid UI does not support multi-column sort. If you implement it, you should call preventDefault() on the headerRelease event so it doesn't attempt to do a single column sort. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of rleuthold Sent: Monday, October 01, 2007 4:03 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] DataGrid ArrayCollection numerical sort on multiple columns Hi there, I know, there are tons of posts in the archive about numeric sort with Data Grids and an Array Collection as Data Provider. But I couldn't find an answer to my problem in any of them. I'm atttaching a numerical sort to the Data Provider as described in the help (with sortFields and DP.sort an so on). When I specifiy a numerical sort to just one field of the Array Collection the sorting in the Data Grid works very well. But when I specify a numerical sort for different fields in the Array Collection, I see a number just next to the sort marker in the Header Column of the Data Grid and the sorting is just a normal text sort. Can somebody explain me this phenomenon ? _rico