Table of Contents

TTMSFNCDataGridBase Class

Platform-independent TMS FNC DataGrid control base. Owns the TTMSFNCDataGridRenderer (Root) and bridges it to the host control's paint, resize, and focus lifecycle.

API unit family: TMSFNCDataGridBase Inherits from: TTMSFNCCustomControl

Syntax

TTMSFNCDataGridBase = class(TTMSFNCCustomControl)

Remarks

Do not use this class directly. Use TTMSFNCDataGrid dropped on a form instead. Subclass this only when building a custom grid variant that needs a different renderer class.

Properties

Name Description
Root The renderer that owns the core layout engine and draws all grid content. Access geometry, cell state, and low-level layout through Root when the higher-level grid API does not expose what you need.
RootPersistence Controls which sub-objects of Root participate in DFM persistence. 0 means full persistence (default).

Methods

Name Description
BeginUpdate Suspends all layout recalculation and repainting until EndUpdate is called.
Clear Resets all cell data and structural state. Equivalent to starting with a blank grid.
ClearData Clears only the cell data, preserving column/row structure, widths, and heights.
EndUpdate Resumes layout recalculation and triggers a full repaint after a BeginUpdate block.
RefreshData Marks a single cell as needing a data refresh and optionally triggers a repaint.