Если магазин уже существует, вы можете добавить фильтр
store.addFilter(function(rec){
return rec.get('dataIndex name') === true; // or other flag. if it's bool value === no need;
});
, в новом магазине вы можете добавить фильтр
Ext.create('Ext.data.Store', {
model: 'User',
proxy: {
type: 'ajax',
url: '/users',
reader: {
type: 'json',
root: 'users'
}
},
filters: [
function(rec) {
return rec.get('dataIndex name') === true;
}
]
});