Ahh.. I looked at the source and realized what I was doing wrong.
The way the code is written, if you pass the sort field constructor a
value of 'true' for caseInsensitive then it automatically does a
string compare on the field. This makes sense and is actually a good
way to enforce a str
mechanism in Flex 2.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nischal Pathania
Sent: Thursday, October 13, 2005
2:44 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] date
sort
Matt:
I tried your example script but it
oogroups.com
Subject: RE: [flexcoders] date sort
OK, the problem is that we end up executing the formatDate function and sorting
those values instead of using your comparator functions on the fields as
specified by the actual column. Here's a small example that will get you part
of the wa
the dataProvider to that copy.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nischal Pathania
Sent: Wednesday, October 12, 2005
9:01 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] date
sort
Everyone:
I have used sortCompareFunct
,
Nischal Pathania
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt
Chotin
Sent: Tuesday, October 11, 2005 20:53
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] date sort
sortCompareFunction is meant for you controlling the sort regardless of whether
you h
.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, October 07, 2005
2:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] date
sort
Ya I have tried that but from I understand that only
work when the date is
;Matt Chotin"
<[EMAIL PROTECTED]>
Sent by: flexcoders@yahoogroups.com
10/05/2005 05:27 PM
Please respond to
flexcoders@yahoogroups.com
To
cc
Subject
RE: [flexcoders] date sort
If it’s not working by default
you may want to look into the sortCompareFunction on DataGr
If it’s not working by default you
may want to look into the sortCompareFunction on DataGridColumn.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joe
Sent: Wednesday, October 05, 2005
2:33 PM
To: flexcoders@yahoogroups.com
Subject:
8 matches
Mail list logo