GcSpread.Sheets Namespace > Sheet type : removeSpan Method |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: any value = instance.removeSpan(row, col, sheetArea);
activeSheet.addSpan(0,0,3,3,GcSpread.Sheets.SheetArea.viewport);
//activeSheet.removeSpan(0, 0, GcSpread.Sheets.SheetArea.viewport);
sheet.addSpan(0,0,3,3,GcSpread.Sheets.SheetArea.viewport); var spans =sheet.getSpans(); for(var i=0;i<spans.length;i++) { sheet.removeSpan(spans[i].row,spans[i].col,GcSpread.Sheets.SheetArea.viewport); }