TcxCustomGridTableView.IndexOfItem(TcxCustomGridTableItem) Method
Returns the index of the first entry within the Items collection with the specified value.
Declaration
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