Skip to main content
Table of Contents

TTMSFNCDataGridDatabaseAdapterColumns.Add Method

Adds a new, unbound column mapping to the end of the collection.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCDataGridDatabaseAdapterColumns

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
function Add: TTMSFNCDataGridDatabaseAdapterColumn;
HIDESBASE TTMSFNCDataGridDatabaseAdapterColumn* __fastcall Add();

Remarks

The grid receives an extra column when it has fewer data columns than the collection has items. Set TTMSFNCDataGridDatabaseAdapterColumn.FieldName on the result to bind it.

Returns

The created column mapping item. The collection owns it.