Skip to main content

ASPxTreeList.GetSummaryValue(TreeListNode, TreeListSummaryItem) Method

Returns the specified summary value.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public object GetSummaryValue(
    TreeListNode node,
    TreeListSummaryItem item
)

Parameters

Name Type Description
node TreeListNode

A TreeListNode object that identifies the node group.

item TreeListSummaryItem

A TreeListSummaryItem object that represents the required summary item.

Returns

Type Description
Object

An object that represents the specified summary value.

Remarks

A summary value can be displayed within footer cells and group footer cells. The node parameter represents a parent node, which identifies a group of nodes whose values are used to calculate a summary value. If this parameter represents a node contained within the ASPxTreeList.Nodes collection, the GetSummaryValue returns the summary value (total summary) displayed within a footer cell.

If the node parameter represents a parent node residing at the lower nesting level, the GetSummaryValue method returns a summary value displayed within the corresponding group footer cell.

The GetSummaryValue method returns a null reference, if the specified node isn’t contained within the ASPxTreeList.Nodes collection, and has no children.

See Also