I am getting some data with Timestamps. The data is coming in
descending order of Timestamps(i.e the latest date& time comes first)
My code is as follows: 'arrCallCollection' arraycollection contains
the data with descending order according to Timestamp.
var gcoll:GroupCollection = new GroupCollection()
gcoll.source = arrCallCollection;
var grouingField:GroupingField=new GroupingField("Time_Stamp");
grouingField.descending=true;
var myGrp:Grouping = new Grouping();
myGrp.fields =[grouingField];
gcoll.grouping = myGrp;
dg.dataProvider = gcoll;
'dg' is the id(name) of advanced datagrid.
The 'Time_Stamp' is like this: '12/10/2009 12:10 pm'
The grouping is done correctly but the sorting order is not right.
Its showing the Timestamp '12/10/2009 12:10 pm' after '12/10/2009 1:00
pm' while it must come before
can I know how I can sort according to these timestamps
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---