This project is deprecated. Use DevExtreme Vue instead.

DxTableFilterRow Plugin Reference

A plugin that renders a filter row.

Import

Use the following statement to import a plugin with embedded theme components:

import { DxTableFilterRow } from '@devexpress/dx-vue-grid-bootstrap4';

If you want to use custom components, you can import the themeless plugin:

import { DxTableFilterRow } from '@devexpress/dx-vue-grid';

User Reference

Dependencies

Properties

Name Type Default Description
cellComponent DxTableFilterRow.DxCell   A component that renders a filter cell.
rowComponent DxTableFilterRow.DxRow   A component that renders a filter row.
filterSelectorComponent DxTableFilterRow.DxFilterSelector   A component that renders a filter selector.
iconComponent DxTableFilterRow.DxIcon   A component that renders filter selector icons.
editorComponent DxTableFilterRow.DxEditor   A component that renders a filter editor.
showFilterSelector? boolean false Specifies whether the FilterSelector should be displayed.
rowHeight? number   The filter row’s height.
messages? DxTableFilterRow.LocalizationMessages   An object that specifies localization messages.

Component Types

DxTableFilterRow.DxCell

Props

Field Type Description
tableRow TableRow Specifies a table row.
tableColumn TableColumn Specifies a table column.
colSpan? number The count of columns that the root cell element spans.
rowSpan? number The count of rows that the root cell element spans.
filter Filter | null Filtering options that are applied to a column.
column Column A column.
filteringEnabled boolean Specifies whether filtering by a column is enabled.
getMessage (messageKey: string) => string Returns the filter editor placeholder text.

Slots

Field Description
default The default Vue slot.

Events

Field Type Description
filter (filter: Filter | null) => void An event that initiates applying a new filter to a column.

DxTableFilterRow.DxRow

Props

Field Type Description
tableRow TableRow A table row.

Slots

Field Description
default The default Vue slot.

DxTableFilterRow.DxFilterSelector

Props

Field Type Description
iconComponent DxTableFilterRow.DxIcon A component that renders filter selector icons.
value string The currently selected filter operation.
availableValues Array The list of available filter operations.
disabled boolean Specifies whether the FilterSelector is disabled.
getMessage (messageKey: string) => string Returns the specified localization message.

Events

Field Type Description
changeValue (value: string) => void Handles filter operation changes.

DxTableFilterRow.DxIcon

Props

Field Type Description
type string Specifies the icon type.

DxTableFilterRow.DxEditor

Props

Field Type Description
value any The current editor value.
disabled boolean Specifies whether the editor is disabled.
getMessage (messageKey: string) => string Returns the specified localization message.

Events

Field Type Description
changeValue (value: string) => void Handles filter value changes.

Localization Messages

Field Type Default Description
filterPlaceholder? string ‘Filter…’ The filter editor placeholder text.
contains? string ‘Contains’ The ‘contains’ filter operation name.
notContains? string ‘Does not contain’ The ‘notContains’ filter operation name.
startsWith? string ‘Starts with’ The ‘startsWith’ filter operation name.
endsWith? string ‘Ends with’ The ‘endsWith’ filter operation name.
equal? string ‘Equals’ The ‘equal’ filter operation name.
notEqual? string ‘Does not equal’ The ‘notEqual’ filter operation name.
greaterThan? string ‘Greater than’ The ‘greaterThan’ filter operation name.
greaterThanOrEqual? string ‘Greater than or equal to’ The ‘greaterThanOrEqual’ filter operation name.
lessThan? string ‘Less than’ The ‘lessThan’ filter operation name.
lessThanOrEqual? string ‘Less than or equal to’ The ‘lessThanOrEqual’ filter operation name.

Plugin Components

Name Type Description
DxTableFilterRow.components.DxCell DxTableFilterRow.DxCell A component that renders a filter cell.
DxTableFilterRow.components.DxRow DxTableFilterRow.DxRow A component that renders a filter row.
DxTableFilterRow.components.DxFilterSelector DxTableFilterRow.DxFilterSelector A component that renders a filter selector.
DxTableFilterRow.components.DxIcon DxTableFilterRow.DxIcon A component that renders filter selector icons.
DxTableFilterRow.components.DxEditor DxTableFilterRow.DxEditor A component that renders a filter editor.

Plugin Developer Reference

Imports

Name Plugin Type Description
tableHeaderRows Getter Array<TableRow> Header rows to be rendered.
filters Getter Array<Filter> The filtering options.
isColumnFilteringEnabled Getter (columnName: string) => boolean A function used to define if filtering by a column is enabled.
changeColumnFilter Action ({ columnName: string, config: object }) => void Changes a column’s filter or clears it if config is null.
tableCell Template object? A template that renders a table cell.
tableRow Template object? A template that renders a table row.
valueEditor Template DxDataTypeProvider.DxValueEditor A template that renders the editor.
getAvailableFilterOperations Getter (columnName: string) => Array<string>? A function that returns the names of filter operations that are available for a particular column.

Exports

Name Plugin Type Description
tableHeaderRows Getter Array<TableRow> Header rows to be rendered.