TTMSFNCCustomDataGrid.CanInsertColumn Method
Checks whether a column can structurally be inserted at the specified index.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Syntax
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.