Skip to main content
All docs

GridView.ClearInHeaderSearchText(GridColumn) Method

Clears search text (contents of a column header search box) for a specified column.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

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


public void ClearInHeaderSearchText(
    GridColumn column


Name Type Description
column GridColumn

A column whose search text is cleared.


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 search text (GridColumn.SearchText) for a specified column.

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

See Also