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

TcxCustomDataSource.GetRecordIndexByHandle(TcxDataRecordHandle) Method

Returns the record index for a specific record handle when the grid control displays data from the current data source.

#Declaration

Delphi
function GetRecordIndexByHandle(ARecordHandle: TcxDataRecordHandle): Integer;

#Parameters

Name Type
ARecordHandle TcxDataRecordHandle

#Returns

Type
Integer

#Remarks

The GetRecordIndexByHandle method retrieves the record index for a specific record handle. See the TcxCustomDataSource class to obtain detailed information on record indexes and handles. The GetRecordIndexByHandle method performs the reverse of the GetRecordHandleByIndex operation.

See Also