Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.ClearCells Method

Clears the values and per-cell data of every cell in a range.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
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.
  • Clear