Skip to main content

TcxDBDataController.GetItemFieldName(Integer) Method

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

Declaration

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