Custom filter operator within the menu

0 Answers 55 Views
Filter
S
Top achievements
Rank 1
S asked on 23 Dec 2022, 02:28 PM

Hello

I have a grid cell with filter set to menu. So the popup appears with the list of default operators that are needed to be included in the popup.

Something like below:

<ng-template
kendoGridFilterMenuTemplate
...
>
<kendo-grid-numeric-filter-menu
...
>
<kendo-filter-eq-operator> </kendo-filter-eq-operator>
<kendo-filter-neq-operator> </kendo-filter-neq-operator>
<kendo-filter-gte-operator> </kendo-filter-gte-operator>
<kendo-filter-lte-operator> </kendo-filter-lte-operator>
<kendo-filter-isnull-operator> </kendo-filter-isnull-operator>
<kendo-filter-isnotnull-operator> </kendo-filter-isnotnull-operator>
</kendo-grid-numeric-filter-menu>

</ng-template>

 

What i am trying to achieve is to add another operator like 'In' that can accept comma separated values.

I have looked at the doc (https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row/#toc-custom-filter-row-components/)

But i dont see a custom filter operator example.

Could you please let me know if its possible to do that or is there anyway i can achieve this.

 

Thanks

SM

No answers yet. Maybe you can help?

Tags
Filter
Asked by
S
Top achievements
Rank 1
Share this question
or