Skip to main content
Table of Contents

TTMSFNCDataBinder.ConnectColumnList Method

Creates a column-list binding that populates both column headers and list items from the dataset.

API unit family: TMSFNCDataBinding Declaring type: TTMSFNCDataBinder

Syntax

FMX.TMSFNCDataBinding.hppPascalC++
function ConnectColumnList(AObject: TObject; ADataSource: TDataSource; AListPropertyName: string; AColumnsPropertyName: string; AColumnsSubPropertyName: string; AListSubPropertyName: string): TTMSFNCDataBinderItem;
TTMSFNCDataBinderItem* __fastcall ConnectColumnList(System::TObject* AObject, Data::Db::TDataSource* ADataSource, System::UnicodeString AListPropertyName, System::UnicodeString AColumnsPropertyName, System::UnicodeString AColumnsSubPropertyName, System::UnicodeString AListSubPropertyName);

Parameters

Name Description
AObject Component whose list and column properties are populated.
ADataSource Data source supplying the dataset.
AListPropertyName Name of the component property that holds list items.
AColumnsPropertyName Name of the component property that holds column definitions.
AColumnsSubPropertyName Sub-property within each column item used as the column header.
AListSubPropertyName Sub-property within each list item that receives field values.

Returns

The new binding item added to the Items collection.