Skip to main content
All docs
V24.2

GridView.ClearInHeaderSearchText() Method

Clears search text (contents of column header search boxes) for all columns.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public void ClearInHeaderSearchText()

Remarks

Use the GridView.OptionsFilter.InHeaderSearchMode property to enable built-in search boxes within the View’s column headers. Users can type text in the search boxes to filter against the columns.

Data Grid - In-header search box

The ClearInHeaderSearchText method clears text (GridColumn.SearchText) in all column header search boxes.

See the following topic for more information: GridView.OptionsFilter.InHeaderSearchMode.

See Also