Skip to main content

TcxCustomGridTableItem.ID Property

Specifies the unique identifier assigned to an item.

Declaration

property ID: Integer read;

Property Value

Type
Integer

Remarks

Items in a View can be distinguished by their IDs. IDs provide the unique identity of the items within the View. When an item is deleted, a newly created item might get the ID of the deleted item. Thus the IDs of items won’t be reused within the current state of the View, but may be reused within the lifetime of the View. This is a limit unique to these IDs.

You can get an item by its ID by calling the TcxCustomGridTableView.FindItemByID method.

See Also