New to Kendo UI for Vue? Start a free 30-day trial
You’re currently viewing documentation for our jQuery wrappers.This product reached EOL in May, 2024. To ensure smoother transition we provide support till May, 2025. Check here details and migration guidelines.

Filtering

The Kendo UI Grid wrapper for Vue provides options for filtering the data it displays.

To configure the filtering functionality of the native Vue Grid by Kendo UI, refer to the native Vue Grid by Kendo UI documentation.

Filter Row

You can enable the filter row in the header of the Grid by setting filterable-mode property to row. As a result and based on the data type of the underlying column data, the Grid renders textboxes for string values or numeric inputs, or date pickers in the column headers for data filtering.

To specify the default filter operator which will be applied when the user enters a value in the filter textbox and presses Enter or Tab on the keyboard, set the filterable-cell attribute of the corresponding column to operator.

Example
View Source
Change Theme:

Filter Checkboxes

You can enable the checkbox filtering in the filter menu by setting filterable-multi to true for the desired Kendo UI Data Grid wrapper for Vue columns.

You can also combine the checkbox filter with the itemTemplate definition as demonstrated with the Country column in the second Grid in the following example. In this way, you can customize the items with checkboxes which will be visualized and available for selection to the end user.

The following example demonstrates how to set the client operations.

Example
View Source
Change Theme:

The following example demonstrates how to set the server operations.

Example
View Source
Change Theme:

Filter Menu Customization

The following example demonstrates how to apply common settings to the filter menu of the Kendo UI Grid wrapper for Vue and customize its UI per column by using the exposed API for the column menu.

The implementation:

  • Specifies a single-filter criterion by using the filterable-extra=false setting.
  • Limits the filter operators for string columns to starts with, equal, and not equal.
  • Defines the UI of the built-in date picker to filter the DateTime column of the Grid.
  • Instantiates the Kendo UI DropDownList for the Category column. To create the drop-down filter, assign a JavaScript function to the filterable->ui property of the corresponding column.
Example
View Source
Change Theme: