Hi All,
I have this array collection:
public var myAC:ArrayCollection = new ArrayCollection([
                                        {name:"A", code:10, fy2014:50, 
fy2015:100},
                                        {name:"A", code:10, fy2014:150, 
fy2015:250},
                                        {name:"A", code:20, fy2014:200, 
fy2015:350},
                                        {name:"A", code:20, fy2014:300, 
fy2015:450},
                                        {name:"B", code:10, fy2014:100, 
fy2015:150},
                                        {name:"B", code:10, fy2014:200, 
fy2015:250},
                                        {name:"B", code:20, fy2014:300, 
fy2015:350},
                                        {name:"B", code:20, fy2014:400, 
fy2015:450},
                                ]);
How can I group the ac with totals? like:                               
                                name, code, t2014, t2015
                                A, 10, 200, 350
                                A, 20, 500, 800
                                B, 10, 300, 400
                                B, 20, 700, 800
Thanks!




--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Grouping-arrayCollection-tp12768.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to