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

TcxDataSummary.SummaryGroups Property

Defines the collection of group summaries for specific grouping items.

#Declaration

Delphi
property SummaryGroups: TcxDataSummaryGroups read; write;

#Property Value

Type
TcxDataSummaryGroups

#Remarks

The SummaryGroups property allows you to access summary groups. Use the SummaryGroups property to associate group summaries with specific grouping items. These summaries are calculated when data is grouped by these items. You can assign any grouping item to a set of group summaries. Moreover, you can assign the same set of group summaries to several grouping items.

DefaultGroupSummaryItems also defines the collection of group summaries. It specifies summaries calculated when you group by any item that is not referenced by SummaryGroups.

You can use the GroupSummaryItems property to access the collection of group summaries at the specific level disregarding whether they are provided by the DefaultGroupSummaryItems or SummaryGroups property.

Use the GroupSummaryValues and GroupSummaryDisplayValues properties to get a value of an individual group summary or to set it manually. You can do this, for instance, in the OnAfterSummary event which occurs after all summaries have been calculated.

To return formatted text representations of summary values use GroupFooterSummaryTexts and GroupSummaryText.

See Also