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

DxListEditorColumn.SearchEnabled Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[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 list editors (DxListBox<TData, TValue>, DxComboBox<TData, TValue>, and DxTagBox<TData, TValue> ) can search text in visible data column cells, and filter and highlight search results. Use the SearchEnabled property to exclude a specific column from search operations.

The following code snippet excludes the List Box’s second column from search.

<DxListBox TData=Person TValue=Person Data="Staff.DataSource"
            ShowCheckboxes="true"
            SearchText="Jo"
            SelectionMode="@ListBoxSelectionMode.Multiple">
    <Columns>
        <DxListEditorColumn FieldName="FirstName"></DxListEditorColumn>
        <DxListEditorColumn FieldName="LastName" SearchEnabled="false"></DxListEditorColumn>
        <DxListEditorColumn FieldName="Department"></DxListEditorColumn>
    </Columns>
</DxListBox>

Watch Video: Multicolumn ComboBox - Search and Filter Data

#Implements

See Also