TdxSpreadSheetOptionsBehavior.Deleting Property
Specifies if it is possible to delete cell objects.
Declaration
property Deleting: Boolean read; write; default True;
Property Value
Type | Default |
---|---|
Boolean | True |
Remarks
Set this property to False in order to protect cell objects from accidental deletion. The Spreadsheet and Report Designer controls allow you to delete cells only if the following conditions are met:
Both the Editing and Deleting properties are set to True;
The OptionsProtection.ActualAllowDeleteColumns and/or OptionsProtection.ActualAllowDeleteRows properties return True.
Note
Both the Editing and Deleting property values affect the Table View worksheet’s CanDelete and CanInsert function results.
The default value of the Deleting property is True.
See Also