View Full Version : store's snapshot has old data

26 Aug 2011, 3:34 PM
I am reloading a store by changing its proxies url and then calling store.load().

now when i do store.getById I can't look up the newly loaded items even though they are there.
i can see the new items by store.getAt(0) and can find the item by doing store.find("id", 101)

i see that getById does a lookup on store.snapshot. i see in firebug that store.snapshot has the old data, the data which was loaded before the last load which i did by changing the proxies url

can someone explain why the store.snapshot has old data and how can i refresh it?

27 Aug 2011, 11:04 PM
filtering the store? see clearFilters