New to Kendo UI for Angular? Start a free 30-day trial

Filtering

To enable the filtering functionality, set the filterable property to true.

Basic Configuration

On every user modification of the input value, the MultiColumnComboBox triggers a filterChange event. The event argument contains the typed string value that you can use to filter the source.

The following example demonstrates how to handle the event manually and filter the data in your code. Notice that the filtering is performed against all fields displayed in the popup table.

Example
View Source
Edit In Stackblitz  
Change Theme:

Built-in Directive

When the entire set of data is available on the client, you can also use the built-in kendoDropDownFilter directive to filter the data on user input. To configure the kendoDropDownFilter directive, provide a DropDownFilterSettings object to it. The settings object allows configuring the following options:

  • operator - Specifies the operator used to perform the filtering. Currently, the filtering directive supports the startsWith and contains operators.
  • caseSensitive - Specifies whether case sensitivity will be acknowledged. By default, the directive will perform case-insensitive filtering.
  • fields - Specifies against which fields will the filtering be performed. If no fields are specified, filtering will be performed against the provided textField.

The provision of the DropDownFilterSettings configuration object is optional. By default, the kendoDropDownFilter directive performs a case-insensitive search with the startsWith operator against the provided textField.

Example
View Source
Edit In Stackblitz  
Change Theme:

Server-Side Filtering

The following example demonstrates how to use the filter value to create the appropriate query string, required for filtering the data on the server.

Example
View Source
Edit In Stackblitz  
Change Theme: