Skip to main content
All docs
V24.1

TreeListFooterDisplayMode Enum

Lists values that specify footer display modes.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum TreeListFooterDisplayMode

Members

Name Description
Auto

The footer is visible if it displays total summary values or your custom footer template. Otherwise, the footer is hidden.

Never

The footer is always hidden even if it contains total summary values or if you specify a custom footer template.

Always

The footer is always visible regardless of its content.

Related API Members

The following properties accept/return TreeListFooterDisplayMode values:

Remarks

Use the TreeList’s FooterDisplayMode to specify when to display the TreeList’s footer.

The default FooterDisplayMode property value is Auto. In this mode, the TreeList shows the footer only if it displays total summary values or your custom footer template. You can set the FooterDisplayMode property to Always or Never to display or hide the footer regardless of total summary values.

The following example changes the footer display mode to Always:

Blazor TreeList Footer Display Mode Always

@inject EmployeeTaskService EmployeeTaskService

<DxTreeList Data="TreeListData"
            KeyFieldName="Id"
            ParentKeyFieldName="ParentId" 
            FooterDisplayMode="TreeListFooterDisplayMode.Always">
    <Columns>
        <DxTreeListDataColumn FieldName="Name" Caption="Task" />
        <DxTreeListDataColumn FieldName="EmployeeName" />
        <DxTreeListDataColumn FieldName="StartDate" />
        <DxTreeListDataColumn FieldName="DueDate" />
    </Columns>
</DxTreeList>

@code {
    List<EmployeeTask> TreeListData { get; set; }

    protected override void OnInitialized() {
        TreeListData = EmployeeTaskService.GenerateData();
    }
}
See Also