I am not sure why you have duplicate items. I am assuming these items come
from a database, you can use the query to leave out double records. In most
other cases, the double is in there for a reason, which means you do not
want to delete them. In that case you would like the .filterFunction
Hi All,
I am dealing with a puzzle here, and I can't figure out the best way to
approach this. I come to you all to see what your thoughts are. I will try
my best to explain this, because I am confused, I can't guarantee it will at
all make sense.
I have an ArrayCollection, workData that has a
Remove the entry from the array?
workData.splice(1, 1);
--
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This is untested so it may need a bit of tweaking, but you could do
something like this:
// for each item in the array
for(var i = 0; i workData.length; i++){
// compare to all other array elements
for(var j = 0; j workData.length; j++){
// do your comparison(s),
4 matches
Mail list logo