Skip to main content

TcxGridEditingController.EditingItem Property

Specifies an item being edited in the focused record.

Declaration

property EditingItem: TcxCustomGridTableItem read; write;

Property Value

Type
TcxCustomGridTableItem

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