I changed the value of checkboxes of a column filter, because I use a custom template in the column. I need to change the operator from 'equal' to 'contains', but if I change the grid won't show the filters.
Operator changed to "contains":
Without changed the operator:
I use this method to change operator (this method subscribed to grid's Filter event):
function gridFilter(e) {
if (e.filter) {
e.filter.filters.forEach(function (f) {
f.operator = "contains";
})
}
}
What did I wrong? Why does not work the multifilter with "contains" operator?