Skip to main content

TcxDataSummary.GroupFooterSummaryTexts Property

Returns the text representation of an individual group summary at a particular level displayed in the group footer group footer panel.

Declaration

property GroupFooterSummaryTexts[RowIndex: Integer; Level: Integer; Index: Integer]: string read;

Property Value

Type
string

Remarks

The GroupFooterSummaryTexts property needs three coordinates to obtain the text representation of a group summary displayed in the group footer panel.

The RowIndex parameter identifies a row index that belongs (directly or indirectly) to the level provided by the Level parameter. The GroupFooterSummaryTexts property can return group summary text not only for the level to which a specified row belongs, but also for upper levels that include this level.

The Index parameter addresses an individual group summary within a collection of group summaries displayed at the level. This parameter must always address a group summary displayed in the group footer panel. You can use the GroupFooterIndexOfItemLink property to return such an index for the required item.

To return text representations of group summaries displayed in the group panel use the GroupSummaryText property.

The next image demonstrates levels and row indexes in a sample grid control. Level 0 contains the {Count=2} and {Min Ratio = 23.1} group summaries. Level 1 contains the {Average Price = 76.3} and {MAX=84.25} group summaries.

To access the first collection of group summaries you need to set RowIndex to 0..3 and Level to 0. To access the second group summary collection you have to set RowIndex to 1..3 and Level to 1. Index can address only group summaries displayed in the group footer panel.

For instance, GroupFooterSummaryTexts [3, 0, 1] returns ‘Min Ratio = 23.1’ (Index, which is set to 1, identifies a group summary in the group footer panel)

See Also