blazor-devexpress-dot-blazor-dot-dxgriddatacolumn-9db5cf7d.md
Specifies whether the Grid can search text in cells of the current column.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(true)]
[Parameter]
public bool SearchEnabled { get; set; }
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if search in the current column is enabled; otherwise, false.
|
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>
For additional information about search in the Grid component, refer to the following topic: Search Box in Blazor Grid.
See Also