# Gantt Filter Menu

One of the filter modes of the Gantt is a popup menu with filter options that you can open from the column headers.

In this article:

* [Basics](https://www.telerik.com/blazor-ui/documentation/components/gantt/gantt-tree/filter/filter-menu#basics)
* [Customization](https://www.telerik.com/blazor-ui/documentation/components/gantt/gantt-tree/filter/filter-menu#customization)

## Basics

To enable the filter menu, set the `FilterMode` property of the grid to `Telerik.Blazor.GanttFilterMode.FilterMenu`.

The Gantt will render a button in the column header that you click to get a popup with filtering options. The popup lets you choose filter operator, filter criteria, to apply and clear the filter.

A key difference in the behavior from the [filter row](https://www.telerik.com/blazor-ui/documentation/components/gantt/gantt-tree/filter/filter-row) is that the filter is now applied only upon a button click, not upon input change. This may improve performance with large data sets.

> caption Filter Menu in Telerik Gantt

<demo metaUrl="client/gantt/filter-menu/example-2/" height="740"></demo>

## Customization

You can customize the default Filter Menu behavior for each column through the following property the `GanttColumn` exposes:

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Parameter               | Type                       | Description                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ----------------------- | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `DefaultFilterOperator` | `FilterOperator`           | Sets the default filter operator in the column it is declared for. Accepts a member of the `FilterOperator` enum. The selected operator must be applicable for the specific data type Check the supported options in the [Filter Operators](https://www.telerik.com/blazor-ui/documentation/common-features/data-binding/filter-operators) article. The provided default filter operator will be applied for both filters in the menu. |
| `Filterable`            | `bool` <br/> (`true`)      | Determines if the column renders allows filtering and renders filtering UI. Use the parameter to disable filtering for specific columns.                                                                                                                                                                                                                                                                                               |
| `FilterEditorFormat`    | `string`                   | The `Format` of the filtering component. Works for DateTime and numeric columns. Do not use a placeholder, for example, set `"D"`, not `"{0:D}"`.                                                                                                                                                                                                                                                                                      |
| `FilterEditorType`      | `enum`                     | The component to render for filtering of `DateTime` columns (`DatePicker` or `DateTimePicker`).                                                                                                                                                                                                                                                                                                                                        |
| `FilterOperators`       | `List<FilterListOperator>` | Specifies the available operators. Must contain only [supported filter operators](https://www.telerik.com/blazor-ui/documentation/common-features/data-binding/filter-operators) for the specific data type. If not defined, the component will use a default list of available operators based on the field type.                                                                                                                     |

> caption Configure the Filter Menu

<demo metaUrl="client/gantt/filter-menu/example-1/" height="740"></demo>

## See Also

* [Gantt Filtering Overview](https://www.telerik.com/blazor-ui/documentation/components/gantt/gantt-tree/filter/overview)
* [Live Demo: Gantt Filter Menu](https://demos.telerik.com/blazor-ui/gantt/filter-menu)
