Skip to main content
Tab

ASPxVerticalGridSummaryItemCollection.Add(SummaryItemType, String) Method

Adds the specified summary item to the collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public ASPxVerticalGridSummaryItem Add(
    SummaryItemType summaryType,
    string fieldName
)

Parameters

Name Type Description
summaryType SummaryItemType

A SummaryItemType enumeration value that specifies the aggregate function type. This value is assigned to the ASPxSummaryItemBase.SummaryType property.

fieldName String

A String value that specifies the name of the data source field whose values are used for summary calculation. This value is assigned to the ASPxSummaryItemBase.FieldName property.

Returns

Type Description
ASPxVerticalGridSummaryItem

An ASPxVerticalGridSummaryItem object that represents the new summary item.

See Also