Skip to main content

TcxGridEditingController.EditingItem Property

Specifies the edited data item in the focused record.

Declaration

property EditingItem: TcxCustomGridTableItem read; write;

Property Value

Type Description
TcxCustomGridTableItem

The data item with the active in-place cell editor.

Remarks

You can use the EditingItem property to specify an item (column in a (Banded) Table View and row in a Card View) being edited in the focused record. If EditingItem is nil, no cell is being edited at the moment. To open the editor programmatically, you can assign a specific View item to EditingItem. For instance, the following code opens the editor for the tvOrdersDescription column of the focused record within the tvOrders View:

tvOrders.Controller.EditingController.EditingItem := tvOrdersDescription;

Another way to open the cell editor is to use the ShowEdit method.

See Also