Consolidate items from ArrayCollection

2016-09-07 Thread jfb
esCollection.getItemIndex(propertyValue) == -1) distinctValuesCollection.addItem(item); } return distinctValuesCollection; } I try to replace the item.VALUE with Fname but always get the same records. thanks for your help in advanced. Best, -- View this message in context: http://apa

Re: Consolidate items from ArrayCollection

2016-09-07 Thread OK
This is a collection of different aproaches: http://stackoverflow.com/questions/5997822/flash-as3-how-do-i-remove-duplicates-in-an-array HTH, Olaf -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Consolidate-items-from-ArrayCollection-tp13509p13515.html Sent

Re: Consolidate items from ArrayCollection

2016-09-07 Thread jfb
ache-flex-users.246.n4.nabble.com/Consolidate-items-from-ArrayCollection-tp13509p13517.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Consolidate items from ArrayCollection

2016-09-08 Thread Nemi
getItemAt(i)["Amount_1"]; in the end you can have: myDataObj = acResult[j]; myDataObj.Amount_1 += srcArray[i].Amount_1; -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Consolidate-items-from-ArrayCollection-tp13509p13525.html Sent from the Apache Flex Users mailing list archive at Nabble.com.