Box
Row
Map
Vue
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery DataGrid - searchPanel

Configures the search panel.

Type:

Object

The search panel allows searching for values in several columns at once. The UI component searches against only those columns whose allowSearch property is set to true.

DevExtreme HTML5 JavaScript jQuery Angular Knockout UI component DataGrid SearchPanel

To make the search panel visible, set the searchPanel.visible property to true.

DataGrid Demo TreeList Demo

See Also

highlightCaseSensitive

Notifies the UI component whether search is case-sensitive to ensure that search results are highlighted correctly. Applies only if highlightSearchText is true.

Type:

Boolean

Default Value: false

highlightSearchText

Specifies whether found substrings should be highlighted.

Type:

Boolean

Default Value: true

placeholder

Specifies a placeholder for the search panel.

Type:

String

Default Value: 'Search...'

searchVisibleColumnsOnly

Specifies whether the UI component should search against all columns or only visible ones.

Type:

Boolean

Default Value: false

By default, the UI component searches against all columns configured in the columns array. Some of them may be invisible, and finding a result in them may confuse a user. To avoid this, set the searchVisibleColumnsOnly property to true.

text

Sets a search string for the search panel.

Type:

String

Default Value: ''
Raised Events: onOptionChanged

visible

Specifies whether the search panel is visible or not.

Type:

Boolean

Default Value: false

width

Specifies the width of the search panel in pixels.

Type:

Number

Default Value: 160