Skip to main content
A newer version of this page is available. .
All docs
V21.1

GridView.ClearInHeaderSearchText() Method

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

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v21.1.dll

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

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