Skip to main content

TcxCustomGridTableController.EditingItem Property

Specifies the edited data item.

Declaration

property EditingItem: TcxCustomGridTableItem read; write;

Property Value

Type Description
TcxCustomGridTableItem

The edited data item.

Remarks

You can use the EditingItem property to open/close an in-place editor for a specific data item.

The EditingItem returns nil (in Delphi) or nullptr (in C++Builder), if an in-place cell editor is inactive. To open the editor programmatically, you can assign a specific View item to EditingItem. For instance, the following code activates the editor for the tvOrdersDescription column of the focused record in the tvOrders View:

tvOrders.Controller.EditingItem := tvOrdersDescription;

The EditingItem property refers to the EditingItem property of EditingController. EditingController provides multiple methods and properties to manage cell edit operations.

See Also