Back to Devexpress

TcxCustomDataSource.GetDefaultItemID(Integer) Method

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

latest1.1 KB
Original Source

TcxCustomDataSource.GetDefaultItemID(Integer) Method

Returns the unique identifier of a column at the specified position.

Declaration

delphi
function GetDefaultItemID(AItemIndex: Integer): Integer; virtual;

Parameters

NameType
AItemIndexInteger

Returns

Type
Integer

Remarks

The GetDefaultItemID function returns the unique identifier of a view item (a column) at the position specified by the AItemIndex parameter (its current visible position amongst the other view items). See the TcxCustomDataSource class to learn more about item indexes.

Call this function to identify a view item (a column) at a specific position.

See Also

TcxCustomDataSource Class

TcxCustomDataSource Members

cxCustomData Unit