Re: [flexcoders] Re: How to temporarily stop a dataProvider from updating UI

2008-08-01 Thread Daniel Gold
Keep in mind that swapping/concating Arrays doesn't copy data around as the collections only store references to objects... On 8/1/08, whatabrain <[EMAIL PROTECTED]> wrote: > > Replacing the dataProvider might not be more efficient if a lot of > rows are added all at once, to a table that alread

RE: [flexcoders] Re: How to temporarily stop a dataProvider from updating UI

2008-08-01 Thread Alex Harui
I think it will be more efficient to simply reset the source, saving away the selectedIndex first and restoring it (after updating if necessary) later. It might be possible to create your own IList implementation that handles addItemsAt and sends the appropriate change event, but I'm not sure all