Please look into my example more closely.
When you click the button I first clear the list and then fill it again with
new items from an arraycollection ; )

collection = new ArrayCollection(); // clears the list
collection = new
ArrayCollection({first:john},{first:john},{first:john},{first:john},{first:john});
// this line fills the list again, after it was cleared

Reply via email to