searchPanel

Configures the search panel.

Type: Object

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

DevExtreme HTML5 JavaScript jQuery Angular Knockout Widget TreeList SearchPanel

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

See Also

highlightCaseSensitive

Notifies the widget whether search is case-sensitive to ensure proper highlightning of search results. 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 widget should search against all columns or only visible ones.

Type: Boolean
Default Value: false

By default, the widget 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 option to true.

text

Sets a search string for the search panel.

Type: String
Default Value: ''

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