tmpStore= new Ext.data.Store({
model: 'monitorGroup' ,
proxy: {
type: 'ajax',
url : remoteUrl
reader: {
type: 'json',
root: 'monitorGroups'
}
// extraParams: {
<%-- communityId: '<%=communityId%>', --%>
// }
},
filters: [function(item) {
if ( item != null && item.data !=null && item.data.filterField !='filterValue') {
return true ;
} else {
return false ;
}
}],
listeners : {
load : function(records,options, success) {
}
}
});
tmpStore.load();
Extjs4 store filter function
最新推荐文章于 2021-10-29 16:32:03 发布