TTMSFNCDataGrid.ClearCells Method
Clears the values and per-cell data of every cell in a range.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Syntax
procedure ClearCells(ACellRange: TTMSFNCDataGridCellCoordRange);
void __fastcall ClearCells(const TTMSFNCDataGridCellCoordRange &ACellRange);
Remarks
Merged cells inside the range are split first. Cell types (checkbox, button, bitmap and so on), layouts and objects stored with the cells are removed as well; column settings are not affected.
Parameters
| Name | Description |
|---|---|
ACellRange |
Range to clear, from its start cell to its stop cell inclusive. |
Related API
Clear