Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxDataSummaryGroup Class

Represents a summary group.

#Declaration

Delphi
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.

A Summary Group

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.

#Inheritance

See Also