Hello everyone,
i'm trying to implement some custom filtering but ran into a problem when applying multiple filters like so:
gridStore.filter({
id: "filter1",
filterBy: (record) => record.SomeProp.hasX
});
gridStore.filter({
id: "filter2",
filterBy: (record) => record.SomeProp.yCount === 0
});
The second filter is applied after the first one as expected but is only applied to the already filtered dataset and not the 'raw/whole dataset' (so records where 'record.SomeProp.hasX' was false are not considered when filtering for 'record.SomeProp.yCount === 0').
My Question is:
Do i need to combine these filters 'by hand' or is there a way to concatinate these filters in a custom way, give them the same base record-list to filter or 'apply both at the same time'?
thanks in advance and kind regards