PDA

View Full Version : Reset Dynamically populated store.



nayak14
19 Oct 2009, 9:41 PM
Hi,
I have a dynamically created store without any proxy defined for it.
I am adding records to it in the first load.
Application UI has two grids to drag and drop records from one to another.
i am ataching the above mentioned store to the right hand side grid which is to drop and add records.

Now suppose i have already saved 5 records in the database, the right hand side grid shows those 5 records in the initial load. User can add or remove records from it.
I have Reset button on the screen where i want to reset the records to those are in databse. Is there any way to reload it with its previous state without querying the API or database.