Skip to main content
Table of Contents

TTMSFNCDataGridCore.Clear Method

Resets the per-row and per-column state to the defaults.

API unit family: TMSFNCDataGridCore Declaring type: TTMSFNCDataGridCore

Syntax

FMX.TMSFNCDataGridCore.hppPascalC++
procedure Clear; virtual;
virtual void __fastcall Clear();

Remarks

At this level, removes all custom widths and heights, display order, merged, filtered and hidden flags, and cached positions; row/column counts and fixed/freeze counts are kept. Descendants extend it to also clear the cell data, selection and grouping. Runs inside a BeginUpdate/EndUpdate pair.