MVCxTreeListSummaryCollection.Add(SummaryItemType, String) Method
In This Article
Adds a new summary item to the end of the collection and returns the newly created object.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public TreeListSummaryItem Add(
SummaryItemType summaryType,
string fieldName
)
#Parameters
Name | Type | Description |
---|---|---|
summary |
Summary |
One of the Summary |
field |
String | A String value that specifies the name of a data field assigned to the current column. This value is assigned to the Tree |
#Returns
Type | Description |
---|---|
Tree |
A Tree |
See Also