Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetTableView.CanDelete(TdxSpreadSheetCellsModification) Method

Identifies if users can delete cell data from the worksheet.

#Declaration

Delphi
function CanDelete(AModification: TdxSpreadSheetCellsModification): Boolean; overload; virtual;

#Parameters

Name Type Description
AModification TdxSpreadSheetCellsModification

Enumerates options that define how cell insert and delete operations affect adjacent cells.

#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:

Otherwise, the CanDelete function returns False.

Note

The CanDelete function only identifies if an ability to delete cell values is available. If you need to identify if users can delete both values and custom cell styles, call the CanClearCells function instead.

See Also