The sorting relies on ASCII values. In
the ASCII table Uppercase comes before lowercase. If you need something beyond
this, you’ll have to write the sorting logic yourself and update the
dataProvider accordingly.
HTH,
Jason
__________
Jason Weiss
Cynergy Systems, Inc.
Macromedia Flex Alliance
Partner
http://www.cynergysystems.com
Email: jasonDOTweissATcynergysystemsDOTcom __nospam
Office: 866-CYNERGY
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of george_lui
Sent: Wednesday, November 30, 2005
4:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] datagrid
column sorting
Hi,
When you sort columns in a datagrid, I assume that
data in a column is
sorted according to its natural sorting order
(whatever that may be).
In my case it's a string.
For some reason, the sorting on this column
behaves differently. I
have data that begins with uppercase and lowercase
letters, and
columns that are just blank. When I sort on
this column I get
uppercase, blank, and lowercase (and vice versa
when sorting in the
reverse order). I'm expecting the sort to be
uppercase, lowercase,
and blank (and vice versa).
Is anyone aware of such a behavior? It's
hard for me to pinpoint
because I don't have this behavior on my local
build, but it's there
in a staging build.
Thanks,
George
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS