TcxDataSummary.GroupSummaryText Property
Specifies the formatted text string representing group summary values in a specific group panel.
Declaration
property GroupSummaryText[RowIndex: Integer]: string read;
Property Value
Type |
---|
string |
Remarks
The GroupSummaryText property returns text representations of group summaries displayed in a specific group panel. To identify a group for which text representations of group summaries are returned, you should supply any index of a row that belongs to the desired group. The row index defines the current visible position of the row in a grid control. Child rows of collapsed group rows are not taken into account.
Let us examine the following image:
The GroupSummaryText property returns the following strings for the specified row indexes:
RowIndex | Group Summary Text |
---|---|
0 | {Count=2} |
1 | {Average Price = 76.3} |
2 | {Count=7} |
3 | {Average Price = 74.3} |
4..9 | {Average Price = 91.3} |
The GroupSummaryText property does not return the text of a group summary displayed in the group footer panel. To get the text of a group summary in the group footer panel use the GroupFooterSummaryTexts property.