clears a range of cells (either selected cells or specified in the parameter)
rangeStr | string | optional, the range of cells |
type | object | optional, defines clearing options (see details) |
page | string | optional, the name of the sheet |
$$("ssheet").clearRange("B2:D2", {values:true, styles:true}, "Sheet1");
If the rangeStr parameter isn't set, the method will clear the selected range, if there is any.
The type object can have two attributes: