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.ClearCellValues Method

In This Article

Clears all values from the current cell selection.

#Declaration

Delphi
procedure ClearCellValues;

#Remarks

Call this procedure to delete values in all selected cells and cell ranges. The procedure neither restores the default cell style nor releases the underlying cell objects in the cell selection areas.

Note

A ClearCellValues procedure call has no effect if the CanClearCells function returns False or the cell selection is empty. The procedure raises the EdxSpreadSheetCannotChangePartOfArrayError exception if at least one selected cell range intersects an array formula‘s result area.

See Also