I have a enum type field -(eg: CustomerState). And I have binded to kendo grid to dispay the text value of the enum as below,
<kendo-grid-column field="customerState" title="{{'LABELS.customerState' | translate}}" width="100">
<!-- <ng-template kendoGridCellTemplate let-dataItem>
{{ dataItem.customerState | enumTranslate: customerState | async }}
</ng-template> -->
<ng-template kendoGridCellTemplate let-element>
{{CustomerState[element.customerState]}}
</ng-template>
</kendo-grid-column>
I have set filterable="menu" in the grid. So I see a default filtering option in the UI page with Contains search as default.
Problem is when I search the text value of the field(eg: Inactive state), I get no results. but when I search as 0 or 1 or 2, I get the filtered result.
So is there any easier alternative to filter based on a particular enum value from all list of records in the grid?