Box
Map
Row
Vue

filterRow

Configures the filter row.

Type:

Object

The filter row allows a user to filter data by values of individual columns.

DevExtreme HTML5 JavaScript jQuery Angular Knockout TreeList FilterRow

Each cell in the filter row contains a magnifying glass icon, pausing on which opens a drop-down list with filters available for the column.

DevExtreme HTML5 JavaScript jQuery Angular Knockout TreeList FilterRow

To make the filter row visible, assign true to the filterRow.visible property.

DataGrid Demo TreeList Demo

See Also

applyFilter

Specifies when to apply a filter.

Type:

String

Default Value: 'auto'
Accepted Values: 'auto' | 'onClick'

By default, the filter applies automatically after a user finishes entering a value into a cell of the filter row. Alternatively, the filter can be applied on a click on the "Apply Filter" button. To enable this mode, assign "onClick" to the applyFilter property.

View Demo

applyFilterText

Specifies text for a hint that appears when a user pauses on a button that applies the filter.

Type:

String

Default Value: 'Apply filter'

betweenEndText

Specifies a placeholder for the editor that specifies the end of a range when a user selects the "between" filter operation.

Type:

String

Default Value: 'End'

See Also

betweenStartText

Specifies a placeholder for the editor that specifies the start of a range when a user selects the "between" filter operation.

Type:

String

Default Value: 'Start'

See Also

operationDescriptions

Specifies descriptions for filter operations on the filter list.

Type:

Object

The following code sample illustrates how to set this property:

jQuery
index.js
$(function() {
    $("#treeListContainer").dxTreeList({
        filterRow: {
            // ...
            operationDescriptions: {
                startsWith: "Begins with"
            }
        }
    });
});
Angular
app.component.html
app.module.ts
<dx-tree-list ... >
    <dxo-filter-row ... >
        <dxo-operation-descriptions
            startsWith="Begins with">
        </dxo-operation-descriptions>
    </dxo-filter-row>
</dx-tree-list>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';

import { DxTreeListModule } from 'devextreme-angular';

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule,
        DxTreeListModule
    ],
    providers: [ ],
    bootstrap: [AppComponent]
})
export class AppModule { }
Vue
App.vue
<template>
    <DxTreeList ... >
        <DxFilterRow ... >
            <DxOperationDescriptions
                starts-with="Begins with"
            />
        </DxFilterRow>
    </DxTreeList>
</template>

<script>
import 'devextreme/dist/css/dx.light.css';

import DxTreeList, {
    DxFilterRow,
    DxOperationDescriptions
} from 'devextreme-vue/tree-list';

export default {
    components: {
        DxTreeList,
        DxFilterRow,
        DxOperationDescriptions
    },
    // ...
}
</script>
React
App.js
import 'devextreme/dist/css/dx.light.css';

import TreeList, {
    FilterRow,
    OperationDescriptions
} from 'devextreme-react/tree-list';

export default function App() {
    return (
        <TreeList ... >
            <FilterRow ... >
                <OperationDescriptions
                    startsWith="Begins with"
                />
            </FilterRow>
        </TreeList>
    );
}
See Also

resetOperationText

Specifies text for the reset operation on the filter list.

Type:

String

Default Value: 'Reset'

The reset operation restores the default filter, which depends on the column's data type. For details on default filters by data types, refer to the description of the selectedFilterOperation property.

showAllText

Specifies text for the item that clears the applied filter. Used only when a cell of the filter row contains a select box.

Type:

String

Default Value: '(All)'

In columns that contain Boolean values or use lookup, a user filters data with a select box. To clear the applied filter, the user selects the "All" item in this select box. The showAllText property specifies text for this item.

showOperationChooser

Specifies whether icons that open the filter lists are visible.

Type:

Boolean

Default Value: true

NOTE
If a column does not display a filter icon, specify the column's dataType and ensure that the column's allowFiltering property is not disabled.

visible

Specifies whether the filter row is visible.

Type:

Boolean

Default Value: false