Represents a summary item.
public class ASPxVerticalGridSummaryItem : ASPxSummaryItemBase
Public Class ASPxVerticalGridSummaryItem Inherits ASPxSummaryItemBase
Related API Members
The following members accept/return ASPxVerticalGridSummaryItem objects:
The ASPxVerticalGrid allows you to display brief information about records. For instance, you can display the number of records or the maximum value, etc. This is called a summary. Summaries are represented by the ASPxVerticalGridSummaryItem objects.
The ASPxVerticalGrid supports total summaries. These are aggregate function values calculated over all the records within the ASPxVerticalGrid and displayed within the summary panel. Total summaries are stored within the ASPxVerticalGrid.TotalSummary collection.
For a summary item, the following two properties must be specified.
- The ASPxSummaryItemBase.FieldName property specifies the name of a 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"/>
The summary item above summarizes the 'Total' field values within all records and displays the sum in the summary panel.
To learn more, see Data Summaries.