Table of Contents

TTMSFNCCustomDataGrid.CanMergeCells Method

Returns True when the described rectangular range can be merged without conflicting with any existing cell merges.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

function CanMergeCells(AColumn, ARow, AColumnCount, ARowCount: Integer): Boolean;

Parameters

Name Description
AColumn Zero-based starting column of the range.
ARow Zero-based starting row of the range.
AColumnCount Number of columns to include in the merge.
ARowCount Number of rows to include in the merge.

Returns

True if the range can be safely merged.