[flexcoders] Item Rendererer Question
I have custom ItemRenderers, after a filter Function, it looks like my itemRenderers are not being cleared out, I have double the items in my list. How do I make sure they are reset and their visual content is removed after I perform a refresh() Thanks, Patrick
Re: [flexcoders] Item Rendererer Question
Can you be more specific? Generally speaking IR are reused so there is a high probability that you still have them in there. In theory you should be filtering the list data provider so that the list will display whatever the provider feeds.. Claudiu From: djhatrick djhatr...@yahoo.com To: flexcoders@yahoogroups.com Sent: Tuesday, March 17, 2009 3:18:20 PM Subject: [flexcoders] Item Rendererer Question I have custom ItemRenderers, after a filter Function, it looks like my itemRenderers are not being cleared out, I have double the items in my list. How do I make sure they are reset and their visual content is removed after I perform a refresh() Thanks, Patrick
RE: [flexcoders] Item Rendererer Question
Renderers are manipulated by the lists and the framework based on the underlying data. Have you verified your dataProvider content? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of djhatrick Sent: Tuesday, March 17, 2009 9:18 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Item Rendererer Question I have custom ItemRenderers, after a filter Function, it looks like my itemRenderers are not being cleared out, I have double the items in my list. How do I make sure they are reset and their visual content is removed after I perform a refresh() Thanks, Patrick