Table of Contents

TTMSFNCDataGrid.GroupSum Method

Applies a sum aggregate to the group header rows for the specified column.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Overloads

Overload 1

Applies a sum aggregate to the group header rows for the specified column.

procedure GroupSum(AColumn: Integer; ACalculationOptionsCallback: TTMSFNCDataGridDataGetColumnCalculationOptionsCallback = nil); overload;

Parameters

Name Description
AColumn Zero-based column index.
ACalculationOptionsCallback Optional callback to supply per-column calculation options.

Overload 2

Applies a sum aggregate to the group header rows for the specified columns.

procedure GroupSum(AColumns: TArray<Integer>; ACalculationOptionsCallback: TTMSFNCDataGridDataGetColumnCalculationOptionsCallback = nil); overload;

Parameters

Name Description
AColumns Array of zero-based column indices.
ACalculationOptionsCallback Optional callback to supply per-column calculation options.