GC.Spread.Sheets Namespace > CellRange type : clear Method |
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea); var value; // Type: any value = instance.clear(type);
function clear( type : StorageType ) : any;
activeSheet.getRange(2, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).backColor("lightblue"); //button click $("#button1").click(function () { activeSheet.getRange(2, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).clear(GC.Spread.Sheets.StorageType.style); });