Skip to main content
Table of Contents

TTMSFNCDataGrid.CanInsertColumn Method

Checks whether a column can structurally be inserted at the specified index.

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

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function CanInsertColumn(AColumn: Integer): Boolean;
bool __fastcall CanInsertColumn(int AColumn);

Remarks

This is a structural check only; options and OnCanInsertColumn are not consulted.

Parameters

Name Description
AColumn Zero-based index at which the column would be inserted.

Returns

True when the index is a valid column and no merged cell spans that column.