You might try enableAutoUpdate and disableAutoUpdate on ICollectionView, not 
sure if that has the desired affect or not.

You could also put custom events in your model objects and manually dispatch 
collection events or call explicitly tell the grid when to update.

--- In flexcoders@yahoogroups.com, "tntomek" <tnto...@...> wrote:
>
> Hi,
> 
> Is there any way to tell the ADG to not re-render itself immediately after a 
> propertyChanged even has been fired in the dataProvider? 
> 
> I have quite a wide row (lots of cells) and lots of custom logic that updates 
> these dependent properties on each row. i.e. calculated columns. I am doing 
> the calculations at dataProvider level vs labelFunctions. On each "set" 
> function of one of my cells in the row I raise a "propertyChanged" event if 
> the value was changed. Tracing through what the ADG is doing I'm finding that 
> its re-rendering each time I raise this event even if its in the same row. Is 
> there any way to tell the ADG to wait a few milliseconds in case another 
> propertyChanged event comes in so as to render once instead of 10 times?
> 
> If there is no ADG option what is the best pattern for this assuming I want 
> to do this in my underlying dataprovider objects. Should I raise custom 
> events and fake a itemUpdated once I know there are no more changes? I don't 
> see a clean way to do this however since I never really know when I'm done, 
> and using a timer or something of this nature seems like a major hack.
> 
> -Tom
>


Reply via email to