Skip to main content
All docs
V24.2

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.2.dll

Declaration

public void ClearInHeaderSearchText(
    GridColumn column
)

Parameters

Name Type Description
column GridColumn

A column whose search text is cleared.

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

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

See Also