Table of Contents

TTMSFNCDataGridCellItem Class

Lightweight cell data container for plain data cells in the TMS FNC DataGrid.

API unit family: TMSFNCDataGridCell Inherits from: TPersistent

Syntax

TTMSFNCDataGridCellItem = class(TPersistent)

Remarks

Use TTMSFNCDataGridCellItemExtended when richer metadata (bitmap, control, merge spans, layout overrides) is required. Access instances via the grid's Cells[Col, Row] property or the row dictionary.

Properties

Name Description
DisplayValue Formatted display string shown in the cell; when non-empty it takes precedence over the raw Value for rendering.
Invalid When True the cell is flagged for a repaint on the next render pass; reset by the renderer after drawing.
Value The underlying TValue (or JSValue on Web) stored for this cell.

Methods

Name Description
Clear Resets the cell's Value, DisplayValue, and Invalid flag to empty/default state.