clear
Clears the contents of the range cells.
Parameters
options Object
optional
An object which may contain contentsOnly: true
or formatOnly: true
key values. Clearing the format will remove the cell formatting and visual styles.
If a parameter is not passed, the method will clear both the cells values and the formatting.
Example
<div id="spreadsheet"></div>
<script type="text/javascript" charset="utf-8">
$("#spreadsheet").kendoSpreadsheet();
var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");
var sheet = spreadsheet.activeSheet();
sheet.range("A1").value(1);
sheet.range("A2").value(2);
sheet.range("A1:A2").clear();
</script>