Data Summaries (Vertical Grid)
ASPxVerticalGrid allows you to display summaries, i.e., brief information about individual rows. For example, you can display the number of records.
A summary is an ASPxVerticalGridSummaryItem object. To work properly, the following two properties must be specified.
- The ASPxSummaryItemBase.FieldName property specifies the name of the data source field whose values are used for summary calculation.
- The ASPxSummaryItemBase.SummaryType property specifies the aggregate function type.
<dx:ASPxVerticalGridSummaryItem FieldName="Total" SummaryType="Sum"/>
In server mode, a summary cannot be calculated for unbound rows. In this mode, values are calculated using events (see ASPxVerticalGrid.CustomUnboundRowData). Only rows with unbound expressions (see VerticalGridDataRow.UnboundExpression) support summary calculation.