Skip to main content
All docs
V25.1
  • TreeListFilterMenuButtonDisplayMode Enum

    Lists values that specify when to display column filter menu buttons in the TreeList.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    public enum TreeListFilterMenuButtonDisplayMode

    Members

    Name Description
    Default

    For the DxTreeList.FilterMenuButtonDisplayMode property, the buttons are always hidden.
    For the DxTreeListDataColumn.FilterMenuButtonDisplayMode property, to inherit the value from the DxTreeList.FilterMenuButtonDisplayMode property.

    Never

    The buttons are always hidden.

    Always

    The buttons are always visible.

    Remarks

    The following example adds a filter menu button to all columns, except Task:

    <DxTreeList Data="Data"
                KeyFieldName="Id"
                ParentKeyFieldName="ParentId"
                FilterMenuButtonDisplayMode="TreeListFilterMenuButtonDisplayMode.Always"
                CssClass="max-h-480">
        <Columns>
            <DxTreeListDataColumn FieldName="Name" 
                                  Caption="Task" 
                                  FilterMenuButtonDisplayMode="TreeListFilterMenuButtonDisplayMode.Never" />
            <DxTreeListDataColumn FieldName="EmployeeName" Caption="Assigned To" TextAlignment="TreeListTextAlignment.Left" />
            <DxTreeListDataColumn FieldName="StartDate" Width="150px" />
            <DxTreeListDataColumn FieldName="DueDate" Width="150px" />
        </Columns>
    </DxTreeList>
    

    Blazor Treelist - Filter Menu Buttons

    See Also