Skip to main content
Table of Contents

TTMSFNCDataGridBase.ClearData Method

Removes all cell data while keeping the grid structure.

API unit family: TMSFNCDataGridBase Declaring type: TTMSFNCDataGridBase

Syntax

FMX.TMSFNCDataGridBase.hppPascalC++
procedure ClearData; virtual;
virtual void __fastcall ClearData();

Remarks

Only the stored cell items are discarded. Row and column counts, widths, heights, hidden and filtered state, order, and grouping stay as they are. Use Clear to also reset the row and column metadata.