Skip to main content

TcxDBDataController.GetItemField(Integer) Method

Returns the field which corresponds to a specific item.

Declaration

function GetItemField(AItemIndex: Integer): TField;

Parameters

Name Type
AItemIndex Integer

Returns

Type
TField

Remarks

The GetItemField function returns 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