Skip to main content
Table of Contents

TTMSFNCDataGrid.ColumnMin Method

Returns the smallest numeric value in a column.

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

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function ColumnMin(AColumn: Integer; AFromRow: Integer = -1; AToRow: Integer = -1): Double;
double __fastcall ColumnMin(int AColumn, int AFromRow = 0xffffffff, int AToRow = 0xffffffff);

Remarks

The same row selection as ColumnSum applies; cells that cannot be read as numbers are skipped.

Parameters

Name Description
AColumn Zero-based column index.
AFromRow First row to include, or -1 for the whole data range.
AToRow Last row to include, or -1 for the whole data range.

Returns

Minimum value.