Skip to main content
Table of Contents

TTMSFNCDataBinder.ConnectGrid Method

Creates a grid binding that maps all dataset columns to a grid component.

API unit family: TMSFNCDataBinding Declaring type: TTMSFNCDataBinder

Syntax

FMX.TMSFNCDataBinding.hppPascalC++
function ConnectGrid(AObject: TObject; ADatasource: TDataSource): TTMSFNCDataBinderItem;
TTMSFNCDataBinderItem* __fastcall ConnectGrid(System::TObject* AObject, Data::Db::TDataSource* ADatasource);

Parameters

Name Description
AObject Grid component to bind.
ADatasource Data source supplying the dataset.

Returns

The new binding item added to the Items collection.