Skip to main content

TcxDBDataController.ChangeFieldName(Integer,string) Method

Binds a specific item to a data field.

Declaration

procedure ChangeFieldName(AItemIndex: Integer; const AFieldName: string);

Parameters

Name Type
AItemIndex Integer
AFieldName string

Remarks

Call the ChangeFieldName method to bind the item which is addressed by the AItemIndex parameter to the data field whose name is specified by the AFieldName parameter. The AItemIndex parameter specifies the value of the TcxCustomGridTableItem.Index property. For instance, when working in a table view, the AItemIndex parameter determines the position of the TcxGridDBColumn object within the collection of owner columns. When working in a card view, the AItemIndex parameter determines the position of the card row (of the TcxGridDBCardViewRow class) within the collection of owner card rows.

See Also