TTMSFNCDataBinder.ConnectSingleHTMLTemplate Method
Creates a single-value HTML template binding from the data source to a component property.
API unit family: TMSFNCDataBinding
Declaring type: TTMSFNCDataBinder
Syntax
function ConnectSingleHTMLTemplate(AObject: TObject; ADataSource: TDataSource; APropertyName: string; AHTMLTemplate: string): TTMSFNCDataBinderItem;
Parameters
| Name | Description |
|---|---|
AObject |
Component whose property receives the rendered template. |
ADataSource |
Data source supplying the dataset. |
APropertyName |
Name of the component property to bind. |
AHTMLTemplate |
HTML template string with field name placeholders. |
Returns
The new binding item added to the Items collection.