Skip to main content
Table of Contents

TTMSFNCCustomDataGridDatabaseAdapter.CreateColumns Method

Clears Columns and recreates one auto-created mapping per visible field of the open dataset, then refreshes the grid.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCCustomDataGridDatabaseAdapter

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
procedure CreateColumns;
void __fastcall CreateColumns();

Remarks

All existing mappings, including explicitly configured ones, are discarded; AutoCreateColumns is not consulted. When the dataset is closed or the adapter is inactive, the collection is only cleared.