Skip to main content

TcxDataGroupSummaryItems Class

Represents a collection of group summaries.

Declaration

TcxDataGroupSummaryItems = class(
    TcxDataSummaryItems
)

Remarks

The TcxDataGroupSummaryItems class is a collection of group summaries. A group summary is calculated against records within individual groups. You can create several group summaries within the collection by calling the Add method.

To assign group summaries to a grid, use the DataController.Summary property. It identifies the object of the TcxDataSummary class and this allows you to add both footer and group summaries.

The grid control allows you to define:

  • default group summaries, which are calculated when grouping by any item is applied. Summaries of this type are set via the TcxDataSummary.DefaultGroupSummaryItems property. To redefine group summaries for a specific grouping item, you can use group summaries of the following type.

  • group summaries, which are calculated when grouping by specific items is applied. To create summaries of this type you must specify summary groups via the TcxDataSummary.SummaryGroups property. Each summary group associates a collection of group summaries with grouping items.

See Also