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.GetItemFieldName(Integer) Method

Returns the name of the field which corresponds to a specific item.

#Declaration

Delphi
function GetItemFieldName(AItemIndex: Integer): string;

#Parameters

Name Type
AItemIndex Integer

#Returns

Type
string

#Remarks

The GetItemFieldName function returns the name of the field which corresponds to the item that is addressed by the AItemIndex 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