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

Represents the props of the EnumFilter component.

Definition

Package:@progress/kendo-vue-data-tools

Properties

Sets the accessible label of the component.

Example:
vue
<EnumFilter :aria-label="'Category filter'" />

dataItems?

{ text: string; value: any }[]

Sets the collection of text-value pairs that the EnumFilter DropDownList shows.

Example:
vue
<EnumFilter :data-items="[{ text: 'Beverages', value: 1 }, { text: 'Condiments', value: 2 }]" />

Sets the default item of the EnumFilter DropDownList.

Example:
vue
<EnumFilter :default-item="{ text: 'Choose Category ...', value: null }" />

filter

FilterDescriptor

Sets the FilterDescriptor object that the component edits.

Example:
vue
<EnumFilter :filter="{ field: 'CategoryID', operator: 'eq', value: 1 }" />

onFilterchange?

(event: { nextFilter: FilterOperator }) => void

Fires when you change the filter value.

Parameters:event{ nextFilter: FilterOperator }