New to Kendo UI for Angular? Start a free 30-day trial
FilterMenuTemplateDirective
Represents the filter-menu template.
Use this directive to customize the content of the filter menu.
To define the filter menu template, nest an <ng-template> tag with the
kendoGridFilterMenuTemplate directive inside a <kendo-grid-column> tag.
See example.
The template context is set to the current data item and provides these additional fields:
- column—Defines an instance of the- ColumnComponentoption. Use it as an alias for a template variable by using the- let-column="column"syntax.
- filter—The provided filter descriptors. Use it as an alias for a template variable by using the- let-filter="filter"syntax.
- filterService—Represents the- FilterService. Use it as an alias for a template variable by using the- let-filterService="filterService"syntax.
html
<kendo-grid-column field="CategoryID" title="Category">
    <ng-template kendoGridFilterMenuTemplate
        let-column="column"
        let-filter="filter"
        let-filterService="filterService"
        >
        ...
   </ng-template>
</kendo-grid-column>Selector
[kendoGridFilterMenuTemplate]