Back to Devexpress

TcxCustomDataSource.GetRecordHandleByIndex(Integer) Method

vcl-cxcustomdata-dot-tcxcustomdatasource-dot-getrecordhandlebyindex-x28-system-dot-integer-x29.md

latest1.5 KB
Original Source

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

NameType
ARecordIndexInteger

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

TcxCustomDataSource.GetRecordHandle

TcxCustomDataSource.GetRecordIndexByHandle

TcxCustomDataSource Class

TcxCustomDataSource Members

cxCustomData Unit