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.GetValue(TcxDataRecordHandle,TcxDataItemHandle) Method

Returns a value in a specific record/column.

#Declaration

Delphi
function GetValue(ARecordHandle: TcxDataRecordHandle; AItemHandle: TcxDataItemHandle): Variant; virtual;

#Parameters

Name Type
ARecordHandle TcxDataRecordHandle
AItemHandle TcxDataItemHandle

#Returns

Type
Variant

#Remarks

The GetValue function returns a value in a specific record/column. The ARecordHandle parameter identifies the record handle (a unique identifier of a record) in the current data source. The AItemHandle parameter determines the item handle (a value that uniquely identifies the column and thus the field from which to return the text to display). See the TcxCustomDataSource class to obtain detailed information on record and item handles.

Before calling GetValue, the GetRecordHandleByIndex and GetItemHandle methods are invoked. They return the record handle and the item handle respectively to be passed as arguments to the GetValue method.

See Also