Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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

#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.

The ClearInHeaderSearchText method clears search text (GridColumn.SearchText) for a specified column.

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

See Also