TTMSFNCCustomDataGrid.DeleteRows Method
Removes consecutive rows, shifting the following rows up.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Syntax
procedure DeleteRows(ARow, ACount: Integer);
void __fastcall DeleteRows(int ARow, int ACount);
Remarks
The operation is all-or-nothing: when CanDeleteRow is False for any row in the range, nothing is deleted and a warning is logged. Node child counts are adjusted when deleting inside a node.
Parameters
| Name | Description |
|---|---|
ARow |
Zero-based index of the first row to delete. |
ACount |
Number of rows to delete. |