Skip to main content

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

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