Filterable
configurationIf set to true the user can filter the data source using the grid filter menu. Filtering is disabled by default.
Can be set to a JavaScript object which represents the filter menu configuration.
filterable
Boolean|ObjectDefault: false
filterable.extra
BooleanIf set to true the filter menu allows the user to input a second criterion.
Default: true
filterable.messages
ObjectThe text messages displayed in the filter menu. Use it to customize or localize the filter menu messages.
filterable.mode
StringIf set to row the user would be able to filter via extra row added below the headers. By default filtering is using the menu mode.
Can also be set to the following string values:
- "row" - the user can filter via extra row within the header.
- "menu" - the user can filter via the menu after clicking the filter icon.
- "menu, row" - the user can filter with both modes above enabled.
When the
filterable.modeproperty is set to"row"or"menu, row", the Grid dataSource instance is copied and applied to the Kendo UI AutoComplete widgets used for string filtering.
This will cause one additional read request per string column. The AutoComplete dataSources do not perform paging and will use a collection of the unique column values only.
Default: "menu"
filterable.operators
ObjectThe text of the filter operators displayed in the filter menu.
- If
operatorsare defined manually, the default messages will be overridden too. To control theoperatorsand still use the default messages, retrieve them from theFilterCellprototype -kendo.ui.FilterCell.fn.options.operators.{type}, where the type can be"string","date","number", and"enums".- If the same options are specific to a column, it is possible to use the column filterable configuration of the Grid.
- In multiple Grids, it is possible to override the filterable options of the Kendo UI FilterMenu before the Grids are initialized. Then the new filter options will be available for all Grids without further configurations.