Skip to main content

TcxPivotGridField.SummaryIndex Property

Determines the position of the current field within the SummaryFields collection.

Declaration

property SummaryIndex: Integer read;

Property Value

Type
Integer

Remarks

The pivot grid’s SummaryFields property provides indexed access to the fields whose values are used to calculate summary values. The SummaryIndex property specifies the position of the field within this zero-based indexed collection. A value of -1 indicates that the values of this field are not used to calculate summary values.

To access summary values calculated for a particular field from the SummaryFields collection via the corresponding cross cell, pass the value of the field’s SummaryIndex property as an index to the cross cell’s SummaryCells collection.

See Also