TTMSFNCCustomDataGrid.DeleteColumns Method
Removes consecutive columns, shifting the following columns to the left.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Syntax
procedure DeleteColumns(AColumn, ACount: Integer);
void __fastcall DeleteColumns(int AColumn, int ACount);
Remarks
The operation is all-or-nothing: when CanDeleteColumn is False for any column in the range, nothing is deleted and a warning is logged. Cell data of the deleted columns is freed.
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based index of the first column to delete. |
ACount |
Number of columns to delete. |