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

TcxCustomGridTableView.FindItemByID(Integer) Method

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

#Declaration

Delphi
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