Reputation: 37
Is it possible that I can get all records even though the filters are apply to the store. Please provide some guideline or reference code.
var spareStore = Ext.getStore('ABC');
spareStore.filter( 'item', value);
when I alert spareStore count it should be all rechords. Thanks
Upvotes: 0
Views: 459
Reputation: 436
U can use snapshot property of store as :
var allRecords = store.snapshot || store.data;
Upvotes: 1