Skip to main content
All docs
V23.2

GridView.ClearInHeaderSearchText() Method

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

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

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