TdxSpreadSheetTableView.CanDelete Method
In This Article
Identifies if users can delete cell data from the worksheet.
#Declaration
Delphi
function CanDelete: Boolean; overload; virtual;
#Returns
Type | Description |
---|---|
Boolean | True if users can delete cell data; otherwise, False. |
#Remarks
The function returns True only if the following conditions are met:
Cell delete operations are allowed (that is, the Spreadsheet control’s OptionsBehavior.Editing and OptionsBehavior.Deleting properties are set to True).
Users can delete cells (that is, the worksheet protection is disabled or the protected worksheet allows users to delete columns or rows).
Otherwise, the CanDelete function returns False.
Note
The Can
See Also