Declined
Last Updated: 04 Feb 2020 09:15 by ADMIN
Kevin
Created on: 28 Jan 2020 18:10
Category: Grid
Type: Feature Request
1
Kendo Grid Filter Remove Clear Button

Kendo Grids for Angular has the ability to remove operators by using `[showOperators]="false"`, however this keeps the button visible.

 

We would like the option to also hide/remove the clear button.

 


1 comment
ADMIN
Svetlin
Posted on: 04 Feb 2020 09:15

Hi Kevin,

Indeed, by design the [showOperators]="false" removes the operators but keeps the "Clear filter" button. This button is a part of the Grid UI and thus, we have no plans to change that default behavior of this functionality. However, using some custom CSS the button can be removed. Please check the following example demonstrating that approach:

https://stackblitz.com/edit/angular-tggndu?file=app/app.component.ts

The needed CSS is:

.k-filtercell-operator{
  display: none;
}

I hope this helps.

Regards,
Svetlin
Progress Telerik

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