Approved
Last Updated: 28 Jan 2019 08:33 by ADMIN
Alexander
Created on: 21 Jan 2019 17:11
Category: Grid
Type: Feature Request
1
Ability to configure possible filter operators and default one by field type (string, number,...)

Now I can configure possible filter operators and default operator on column basis. Doing so I have much copy-pasted code for each grid column.

I want to have a grid level option to configure this on "type" basis with a reusable js object (e.g. public constant shared across components):

<kendo-grid [filterOptions]="GridFilterOptions" ...

Where GridFilterOptions:

public const GridFilterOptions: ... = [
{ type: "string", default: "contains", operators: ["contains", "doesnotcontain"]},
{ type: "number", default: "eq", operators: ["eq", "neq"]}
];
1 comment
ADMIN
Dimiter Topalov
Posted on: 28 Jan 2019 08:33
Hello Alexander,

Thank you for submitting this feature request. We will track the customer demand for this enhancement here, and prioritize accordingly when updating our roadmap.

Meanwhile, the available options for configuring the default Grid filtering UI is either setting the filter option of each column:

https://www.telerik.com/kendo-angular-ui/components/grid/api/ColumnComponent/#toc-filter

To further customize the operators or other settings, use the built-in Filter Cell and Filter Menu components for the different value types:

https://www.telerik.com/kendo-angular-ui/components/grid/filtering/built-in-template/

https://www.telerik.com/kendo-angular-ui/components/grid/filtering/built-in-template/#toc-hiding-row-filter-operators

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.