PDA

View Full Version : Store loadData should also clear the snapshot



ATGardner
31 Aug 2011, 1:29 AM
I am using the loadData with 'false' for the append parameter.
I was expecting it to clear all the data from the store, but apparently it does not clear/delete the snapshot, so a later call to 'clearFilters' causes the data to return to the store.
I have an easy workaround by first clearing the filters, and later loading the data, but I just think the snapshot should be cleared automatically anyway.

chandramuralis
31 Aug 2011, 5:47 AM
there is already a open issue for this http://www.sencha.com/forum/showthread.php?144404-Store.loadData-doesn-t-update-Snapshot-when-loadData-is-called-second-time