PDA

View Full Version : Mutiple filters on a store



sirkis
28 Nov 2011, 5:39 AM
I try to apply different conditions filters on a store.



zonesStore.filter([{
property: 'id',
value: '0' and '1' and '5'
}]);


I want only the items with id 0,1 or 5

Any idea ?

tobiu
28 Nov 2011, 5:41 AM
http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.Store-method-filterBy