TreeListFilterMenuButtonDisplayMode Enum
Lists values that specify when to display column filter menu buttons in the TreeList.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public enum TreeListFilterMenuButtonDisplayMode
Members
Name | Description |
---|---|
Default
|
For the DxTreeList.FilterMenuButtonDisplayMode property, the buttons are always hidden. |
Never
|
The buttons are always hidden. |
Always
|
The buttons are always visible. |
Related API Members
The following properties accept/return TreeListFilterMenuButtonDisplayMode values:
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>
See Also