TcxCustomDataController.EditOperations Property
Specifies a set of operations to perform on records in a data controller.
Declaration
property EditOperations: TcxDataControllerEditOperations read;
Property Value
Type |
---|
TcxDataControllerEditOperations |
Remarks
The EditOperations property specifies which operations can be performed on records in a data controller. The TcxDataControllerEditOperations type contains the range of possible operations.
The availability of particular operations is determined by the data controller (TcxCustomDataController descendants).
Value | Description |
---|---|
dceoAppend | Appending records in the data controller is enabled. |
dceoDelete | Deleting records in the data controller is enabled. |
dceoEdit | Editing records in the data controller is enabled. |
dceoInsert | Inserting records in the data controller is enabled. |
dceoShowEdit | An editor can be activated for a record’s field when a control (the ExpressQuantumGrid, for instance) handles records from the data controller. |
In the unbound and provider modes implemented by the TcxCustomDataController class, all operations are allowed.
In bound mode (implemented by TcxDBDataController), all operations (except for dceoShowEdit) are available if the CanModify property of the underlying dataset and the SyncMode property are set to True. The dceoShowEdit operation is available only if the SyncMode property is set to True.