Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.ColumnSpan Method

Returns the number of columns spanned by the merged range a cell belongs to.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function ColumnSpan(ACell: TTMSFNCDataGridCellCoord): Integer;
int __fastcall ColumnSpan(const TTMSFNCDataGridCellCoord &ACell);

Parameters

Name Description
ACell The cell coordinate to query.

Returns

The column span of the merged range, or 0 when the cell is not merged.