我想使用组合 OR 和 AND 运算符的过滤器,但此过滤器语法仅使用 AND 运算符:
this.grid = this.add({
xtype: 'rallygrid',
model: model,
columnCfgs: [
'FormattedID',
'Name',
'Priority',
'State'
],
storeConfig: {
filters: [
{
property: 'Priority',
operator: '=',
value: 'High Attention'
},
{
property: 'Priority',
operator: '=',
value: 'Normal'
},
{
property: 'State',
operator: '=',
value: 'Open'
}
]
}
});