PDA

View Full Version : problem in store.load()



freezq
25 May 2010, 5:34 PM
i want to reload data after calling store.save().so my code is like this:
store.save();
store.load();
the problem is when i deleted some records and executed the code like that,thoese records which deleted showed again!
i guess it has something to do with the cache.because the serverside indeed deleted thoese records.
how to load the real data?

Thanks!

Condor
25 May 2010, 11:07 PM
You have to wait until the save is finished before you reload the store (do the load in the store save event).