So, within a repeated component, you are modifying the underlying
dataProvider item?

 

You can probably find a way to update the DP without triggering the
update events.

 

If the DP is an ArrayCollection, then just setting a property value on
the item should not cause the repeater to re-render.  (This is the case
where you need to call itemUpdated() to force the refresh.)

 

Amy's suggestion is sound.  If you do not bind to the dataProvider, but
rather assign the Repeater.dataProvider explicitly, then no changes to
the DP will automatically cause the Repeater to re-render.

 

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dave_defusion
Sent: Saturday, June 21, 2008 11:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Repeater items with two states and
dataProvider binding resetting state

 

> 
> One thing that can help in this kind of situation is not to bind, but 
> to explicitly set the dataProvider.
>

Won't that also cause the repeater to refresh, or are you saying to
find the child of the repeater and set its data to the data that is
updated?

This is what I was thinking of trying but I assumed I'd get the same
issue.

 

Reply via email to