Skip to main content
A newer version of this page is available. .

DxGridDataColumn.SearchEnabled Property

Specifies whether the Grid can search text in cells of the current column.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(true)]
[Parameter]
public bool SearchEnabled { get; set; }

Property Value

Type Default Description
Boolean true

true if search in the current column is enabled; otherwise, false.

Remarks

The Grid control seeks the search text in every visible data column cell. Use the SearchEnabled property to exclude a specific column from search operations.

<DxGrid Data="@Data" ShowSearchBox=true SearchBoxNullText="Search for a company...">
    <Columns>
        <DxGridDataColumn FieldName="CompanyName" />
        <DxGridDataColumn FieldName="ContactName" SearchEnabled="false"/>
        <DxGridDataColumn FieldName="City" SearchEnabled="false"/>
        <DxGridDataColumn FieldName="Country" SearchEnabled="false"/>
    </Columns>
</DxGrid>

Search Box Overview

For more information about search in the Grid control, refer to the following topic: Search Box.

Implements

See Also