TTMSFNCDataGridDataColumnCalculationOptions Record
Output settings for one column-calculation result: the formatting function, the format string, and summary placement.
API unit family: TMSFNCDataGridData
Syntax
TTMSFNCDataGridDataColumnCalculationOptions = record
struct DECLSPEC_DRECORD TTMSFNCDataGridDataColumnCalculationOptions
Remarks
The data object initializes this record from TTMSFNCDataGridDataGroupingOptions before it is passed to an options callback or TTMSFNCDataGridData.OnGetColumnCalculationOptions.
Fields and properties
| Name | Type | Description |
|---|---|---|
CalculationFormat |
string |
Format string applied to the calculated value; its syntax depends on CalculationFormatType. The default is '%g'. |
CalculationFormatType |
TTMSFNCDataGridDataCalculationFormatType |
Formatting function used for the result: Format (gcfNumber) or FormatFloat (gcfFloat). |
MergeSummary |
Boolean |
True merges a group summary cell starting at the first non-fixed column, so the result spans the preceding columns. |
SummaryInHeader |
Boolean |
True writes a group calculation result into the group header row instead of the group summary row. |