Skip to main content

TcxCustomGridTableView.FindItemByID(Integer) Method

Locates an item within the current View according to the item Item.ID property’s value.

Declaration

function FindItemByID(AID: Integer): TcxCustomGridTableItem;

Parameters

Name Type
AID Integer

Returns

Type
TcxCustomGridTableItem

Remarks

Call the FindItemByID method to locate an item within the current View according to the item Item.ID property value. This property value uniquely identifies items within a View.

Data-aware Views provide methods to locate items connected to specific dataset fields. In a (Banded) Table View, use the GetColumnByFieldName method. The GetRowByFieldName method is its equivalent in a Card View.

To refer to items by their indexes, use the Items property. It provides access to all items regardless of their visibility. The VisibleItems property allows you to access only visible items.

See Also