刚看下API,
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: any
value = instance.clear(row, column, rowCount, columnCount, area, type);
Parameters
row
The start row index.
column
The start column index.
rowCount
The number of rows to clear.
columnCount
The number of columns to clear.
area
The area to clear.
type
The clear type.
您说的这个方式是清除某行某列吗?那我要是想清除整个的呢? |