I have 2 filterRules arrays:
filterRules1 = [
{ dataIndx: dataIndx_wh, condition: 'great', value: 0 },
{ dataIndx: dataIndx_ass, condition: 'equal', value: 0 },
];
filterRules2 = [
{ dataIndx: dataIndx_ass, condition: 'great', value: 0 },
{ dataIndx: dataIndx_sf, condition: 'equal', value: 0 },
{ dataIndx: dataIndx_sew, condition: 'equal', value: 0 },
];
Could I have filter: [filterRules1] OR [filterRules2]??
I try the below code is not work:
this.grid.filter({
oper: 'replace',
rules: [
filterRules1,
filterRules2,
],
});