Skip to main content
Table of Contents

TTMSFNCDataGridDatabaseAdapterColumn.Field Property

The TField bound to this column.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCDataGridDatabaseAdapterColumn Type: TField

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
property Field: TField;
__property Data::Db::TField* Field = {read=GetField, write=SetField};

Remarks

Reading resolves the field lazily with FindField(FieldName) against the linked dataset (when it is active, or when it has persistent fields) and caches it; the result is nil when no dataset is linked or no field matches.

Assigning a field also copies its name into FieldName and refreshes the grid. The column does not own the field.