Skip to main content

TreeListColumn.RowFooterSummary Property

Specifies the type of summary calculated against child nodes for every parent node in the current column.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v22.2.dll

NuGet Package: DevExpress.Win.TreeList


public SummaryItemType RowFooterSummary { get; set; }

Property Value

Type Default Description
SummaryItemType None

A SummaryItemType enumerator value.

Available values:

Name Description

Calculates the sum of field values within a group of column cells.


Retrieves the minimum value within a group of column cells.


Retrieves the maximum value within a group of column cells.


Calculates the number of nodes within a group of column cells.


Calculates the average field value within a group of column cells.


Allows a user to define a custom summary value by handling the TreeList.GetCustomSummaryValue event.


Summary is not calculated.


The RowFooterSummary property defines the type of summary to calculate against column cells of child nodes, for every node that has nesting nodes. These summaries are displayed in group footers below the last child nodes in each group. You need to enable the TreeListOptionsView.ShowRowFooterSummary option to display group footers.

The summary format is determined by the TreeListColumn.RowFooterSummaryStrFormat string.

To calculate summaries against root nodes or all nodes in the Tree List control, use the TreeListColumn.SummaryFooter property.



Group footers are forcibly hidden when filtering is applied in Smart mode (see TreeListOptionsFilter.FilterMode).


The following example demonstrates how to apply a group summary to the Tree List control. The TreeListColumn.RowFooterSummary and TreeListColumn.RowFooterSummaryStrFormat properties are used to set the function type and apply formatting to summary values. The TreeListOptionsView.ShowRowFooterSummary option is enabled to display row footers.

The following image shows the result:


treeList1.OptionsView.ShowRowFooterSummary = true;
treeList1.Columns["Budget"].RowFooterSummary = SummaryItemType.Sum;
treeList1.Columns["Budget"].RowFooterSummaryStrFormat = "Budget Total {0:c}";
See Also