Skip to main content

TcxCustomDataSource.GetDefaultItemID(Integer) Method

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

Declaration

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

Parameters

Name Type
AItemIndex Integer

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