Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxDBDataController.ChangeFieldName(Integer,string) Method

Binds a specific item to a data field.

#Declaration

Delphi
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