GridView.ShowInHeaderSearchTextBox(GridColumn) Method
Activates a built-in header search box for a specific column.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
column | GridColumn | The target column. |
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 ShowInHeaderSearchTextBox method activates and focuses a search box within a specified column header.
The following example sets the search text for the Country column and then activates the search box.
See the following topic for more information: GridView.OptionsFilter.InHeaderSearchMode.
See Also