Changing default operators for kendo-grid-date-filter-menu

0 Answers 23 Views
Filter Grid
Ryan
Top achievements
Rank 1
Iron
Ryan asked on 12 Mar 2025, 02:28 PM
kendo-grid-date-filter-menu
    #dateFilterMenu
    [column]="column"
    [filter]="filter"
    [filterService]="filterService"
>
</kendo-grid-date-filter-menu>

 

I am using the above date filter in a custom filter component. I want to have the 1st filter be gte, and the second fitler be lte. However, I cannot seem to get it to default this way - any default operator I give it applies to both filters

 

Georgi
Telerik team
commented on 17 Mar 2025, 11:29 AM

Hi Ryan,

Thank you very much for the details provided.

From what I understand from your question, you are currently utilizing the StringFilterMenuComponent inside the FilterMenuTemplateDirective and are looking for an approach that would allow you to modify the order of the built-in filtering operators. Please, let me know if I misinterpreted the query.

When it comes to changing the order of the operators inside the filter menu, what I would suggest would be to check out our designated Order of Filter Operators article:

For your convenience, I am sending you a StackBlitz demo that showcases the suggested approach:

In case the provided information does not help you achieve the desired modification to the filtering operators, I would ask you to provide more detailed information about the exact expected result. This would allow me to gain a better understanding of the specific scenario and thus come up with a more suitable suggestion.

I hope this helps.

Regards,
Georgi
Progress Telerik

No answers yet. Maybe you can help?

Tags
Filter Grid
Asked by
Ryan
Top achievements
Rank 1
Iron
Share this question
or