When should i call refresh, i have an ArrayCollection which the datagrid binds to. I tryed updating the arraycollection and then running refresh but that doesnt help. I should mention that i also filter the arraycollection.
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Call refresh() on the collection after assigning the new result data. > > Tracy > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ericbichara > Sent: Monday, November 10, 2008 7:34 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Persisting Datagrid sort order through > dataprovider changes > > > > Hi, > > I have a datagrid which is populated by data i recieve from a > RemoteObject. If a user sorts the datagrid a perticular way and then > updates the data, the sorting gets reset to the order of the data > recieve from the RemoteObject. Is there any way persist the sorting > even when updating the dataprovider? > > Thanks in advance > Eric >