[flexcoders] Re: FilterFunction creating duplicate items in the list

2009-05-31 Thread Tim Hoff
Sounds like your itemRenderer might not be clearing out old data correctly. Check out Question 2 in Amy's FAQ: http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf -TH --- In flexcoders@yahoogroups.com, Rohit Shar

[flexcoders] Re: FilterFunction creating duplicate items in the list

2009-06-01 Thread Tim Hoff
> I update the corresponding item in the dataprovider using setItemAt. (I > typecast dataprovider as Arraycollection). > Recently I added some filters to the room list using > filterfunction. As soon as I start applying filters, I see few items getting > duplicated in the list. Some items exist wi

Re: [flexcoders] Re: FilterFunction creating duplicate items in the list

2009-06-03 Thread Rohit Sharma
Hi All, I think I am able to solve the problem. The issue was that at every updates I was modifying the dataprovider which was cast as array collection. Once filter is applied the arraycollection keeps only the filtered rooms. So, even though a room might be present in the unf