TcxDataSummaryGroup Class
Represents a summary group.
Declaration
TcxDataSummaryGroup = class(
TCollectionItem
)
Remarks
A summary group is an association of specific grouping items with group summaries. When grid records are grouped by any of these items, the data controller calculates the corresponding group summaries.
The example below demonstrates the summary group which associates grouping items (Customer and OrderNo) with specific group summaries.
When records are grouped by any of these grouping items, calculations are performed on:
the minimum value by the SaleDate item
the average value by the AmountPaid item
the sum of values in a group by the ItemsTotal item.
Grouping items are maintained by the Links property. SummaryItems specifies the collection of corresponding group summaries.
TcxDataSummaryGroup is an element of the TcxDataSummaryGroups.Items collection. The TcxDataSummaryGroups class allows you to define several summary groups for a grid control.