Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.CanDeleteColumn Method

Checks whether the specified column can structurally be deleted.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

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

Remarks

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

Parameters

Name Description
AColumn Zero-based index of the column to test.

Returns

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