FormBuildReferenceGroupControl.addDataField Method
Adds a control to the control, based on the specified data field information.
Syntax
public FormBuildControl addDataField(
int dataSourceId,
FieldId fieldId,
[int arrayIndex])
Run On
Client
Parameters
- dataSourceId
Type: int
An integer value that indicates the ID of the data source that the data field is bound to.
- fieldId
Type: FieldId Extended Data Type
A fieldId extended data type value that indicates the ID of the data field.
- arrayIndex
Type: int
An integer value that indicates the index of the data field type; optional.
Return Value
Type: FormBuildControl Class
A FormBuildControl object that represents the newly added control.
Remarks
The type of control that should be added is determined automatically, based on the specified data field information.
If no value is specified for the arrayIndex parameter, a default value of 1 is used, so that the first index is assumed.