Skip to main content
All docs
V25.1
  • DxGridDataColumn.SearchEnabled Property

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

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.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 component 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 component, refer to the following topic: Search Box in Blazor Grid.

    Implements

    See Also