JavaScript/jQuery DataGrid - filterPanel

Configures the filter panel.

Type:

FilterPanel

Default Value: {}

The filter panel displays the applied filter expression.

DevExtreme HTML5 JavaScript jQuery Angular Knockout DataGrid Filter Panel

Clicking on the filter expression opens the filter builder.

DevExtreme HTML5 JavaScript jQuery Angular Knockout DataGrid Filter Panel

If you change the filter expression in the filter panel or filter builder, the changes are reflected in the filter row and header filter, and vice versa. You can disable this synchronization by setting the filterSyncEnabled property to false. In this case, the filter panel remains synchronized with the filter builder.

View Demo

NOTE
If the filter panel is visible and at least one column includes headerFilter.dataSource or lookup.dataSource, disable the syncLookupFilterValues property. Otherwise, the filter panel may not display data correctly.
See Also

customizeText

Customizes the filter expression's text representation.

Type:

Function

Function parameters:
e:

Object

Information about the current filter expression.

Object structure:
Name Type Description
text

String

The filter expression converted to a string.

filterValue

Object

The current filter expression.

component

DataGrid

The UI component's instance.

Return Value:

String

The text to be displayed in the filter panel.

filterEnabled

Specifies whether the filter expression is applied.

Type:

Boolean

Default Value: true
Raised Events: onOptionChanged

texts

Specifies texts for the filter panel's elements.

Default Value: {}

visible

Specifies whether the filter panel is visible.

Type:

Boolean

Default Value: false