This is a migrated thread and some comments may be shown as answers.

How do use <ng-template> to remove a filter off a column in the Kendo Grid?

1 Answer 2543 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Hazel asked on 26 Apr 2021, 01:59 AM

I see that under the "Column Menu" > "Filter Item" section that there is a way to remove the filter button off a specific column, ie. by adding [filterable]="false" to your <kendo-grid-column-field> selector (


However, the way that I have my code arranged, I use <ng-template> to customize my columns, and use an *ngFor to populate my <kendo-grid-column> columns.

Example in the attached screenshot below:

Is there some way to remove the filter button using <ng-template>? I tried adding the [filterable="false" to my <ng-template> for the kendoGridFilterMenuTemplate, but it didn't seem to work.
Thank you!


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 26 Apr 2021, 02:57 PM

Hi Hazel,

Thank you for the provided screenshot.

The best way to remove the filter button UI is using the ColumnComponent filterable input. Your implementation seems similar to persist the state article from our documentation:

Thus a similar approach can be achieved by adding a filterable boolean property to your gridSettings.columns. Thus providing it in the filterable input would hide the filter UI from the ID(ProductID) column.

        *ngFor="let col of gridSettings.columnsConfig"



columnsConfig: [ { field: "ProductID", title: "ID", filterable: false, _width: 60 },

Here is a code example with the described approach:

Please let me know in case I didn't understand the requirement properly or if any further information is required for this case. Thank you.

Yanmario Menev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question