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.GetRecordHandleByIndex(Integer) Method

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

#Declaration

Delphi
function GetRecordHandleByIndex(ARecordIndex: Integer): TcxDataRecordHandle; virtual;

#Parameters

Name Type
ARecordIndex Integer

#Returns

Type
TcxDataRecordHandle

#Remarks

The GetRecordHandleByIndex method retrieves a record handle by a specific record index. See the TcxCustomDataSource class for details on record indexes and handles. By default, this method returns the record handle, produced by GetRecordHandle and stored in an internal array. The reverse operation is performed by the GetRecordIndexByHandle method.

See Also