Maybe check if the item already exists before adding it to the collection.
Greg
--- In [email protected], "djhatrick" <djhatr...@...> wrote:
>
> Tracy,
>
> You are right... i am polling with my service
>
> These duplicates are happening when my service is polling and items are added
> to the collection while a filter is already there.. So I guess I need to
> store the underlying collection and check there... too...
>
> This has me scratching my head a bit.... "scratch, scratch", any suggestion
> as to how to manage this?
>
> Thanks,
> Patrick
>
>
>
>
>
> --- In [email protected], "Tracy Spratt" <tspratt@> wrote:
> >
> > 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: [email protected] [mailto:[email protected]] On
> > Behalf Of djhatrick
> > Sent: Tuesday, March 17, 2009 9:18 AM
> > To: [email protected]
> > 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
> >
>