TTMSFNCDataGridData.ColumnSum Method
Returns the sum of numeric values in AColumn over the specified row range.
API unit family: TMSFNCDataGridData
Declaring type: TTMSFNCDataGridData
Syntax
function ColumnSum(AColumn: Integer; AFromRow: Integer = -1; AToRow: Integer = -1): Double;
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column index used by the operation. |
AFromRow |
Zero-based row index used by the operation. |
AToRow |
Zero-based row index used by the operation. |
Returns
The sum as Double.