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.IndexOfItem(TcxCustomGridTableItem) Method

Returns the index of the first entry within the Items collection with the specified value.

#Declaration

Delphi
function IndexOfItem(AItem: TcxCustomGridTableItem): Integer;

#Parameters

Name Type
AItem TcxCustomGridTableItem

#Returns

Type
Integer

#Remarks

Call IndexOfItem to get the index for an item in the Items collection. The item whose index is located is specified via the AItem parameter.

The first item in the collection has index 0, the second item has index 1, and so on. If an item is not in the list, IndexOfItem returns -1.

See Also