Unplanned
Last Updated: 16 Aug 2021 08:45 by ADMIN
Steven
Created on: 09 Aug 2021 16:10
Category: Grid
Type: Feature Request
4
Allow custom "grid.filterable.operators"

We have a requirement from customers to allow date columns to be filtered by the following criteria:

- IsToday

- IsBeforeToday

It should appear the grid as follows:

This would mean the filter is based on current date, rather than a date selected in a datepicker.

Rather than ask for this specific functionality we would like to be able to specify custom operators for date. As per the link:

https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/filterable.operators.date

You can currently only alter the text on pre configured operators. We would like to be able to add new operators, like this.

kendo.ui.FilterMenu.fn.options.operators.date.today = "Is Today";
kendo.ui.FilterMenu.fn.options.operators.date.lttoday = "Is Before Today";

We would then need to be able to configure the logic used for the new operators.

0 comments