Table of Contents

TTMSFNCCustomDataGrid.GroupAverage Method

Applies an average aggregate to the group header rows for the specified column.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Overloads

Overload 1

Applies an average aggregate to the group header rows for the specified column.

procedure GroupAverage(AColumn: Integer); overload;

Parameters

Name Description
AColumn Zero-based column index.

Overload 2

Applies an average aggregate to the group header rows for the specified columns.

procedure GroupAverage(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.