Table of Contents

TTMSFNCDataGridDataAdapter Class

Abstract base for database and custom data adapters. Subclass to bind external data sources (e.g. FireDAC datasets) to the grid; implement the abstract methods to supply cell data, handle sorting/grouping/filtering, and respond to row expand/collapse.

API unit family: TMSFNCDataGridData Inherits from: TTMSFNCCustomComponent

Syntax

TTMSFNCDataGridDataAdapter = class(TTMSFNCCustomComponent)

Properties

Name Description
Active When True (default), the adapter is connected and drives the grid from the external data source. Set to False to temporarily detach without destroying the adapter.
DataInstance The data engine instance this adapter is bound to. Set automatically when the adapter is assigned to a grid; override in a subclass to inject a custom data instance.

Used by