Skip to main content

TcxCustomGridTableController.EditingItem Property

References the item currently being edited.

Declaration

property EditingItem: TcxCustomGridTableItem read; write;

Property Value

Type
TcxCustomGridTableItem

Remarks

You can use the EditingItem property to open/close an editor for a specific item (column in a (Banded) Table View and row in a Card View) of the focused record.

The EditingItem returns nil, if a cell editor is not opened. 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.EditingItem := tvOrdersDescription;

The EditingItem property actually refers to the EditingItem property of EditingController. EditingController provides several methods and properties to control cell editing.

ExpressQuantumGrid provides several properties to disable editing. See the TcxCustomGridTableItem.Editing topic for details.

See Also