TcxvgMultiRecordsOptionsData.Deleting Property
In This Article
Determines whether a user is allowed to delete records by pressing the Del or Ctrl+Del key.
#Declaration
Delphi
property Deleting: Boolean read; write; default True;
#Property Value
Type | Default |
---|---|
Boolean | True |
#Remarks
Use the Deleting property to determine whether a user is allowed to delete records within a view via pressing the Del or Ctrl+Del keys.
If this option is inactive records still can be deleted via code. Consider the following code deleting the focused record:
Delphi
cxDBVerticalGrid.DataController.DeleteRecord(cxDBVerticalGrid.FocusedRecordIndex);
The default value of the Deleting property is True.
See Also