SpreadJS Documentation
removeSheet Method
GC.Spread.Sheets Namespace > Workbook type : removeSheet Method
The index of the sheet to remove.
Removes the specified sheet.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var value; // Type: any
value = instance.removeSheet(index);
function removeSheet( 
   index : number
) : any;

Parameters

index
The index of the sheet to remove.
Example
This example removes a sheet from the spreadsheet.
spread.setSheetCount(5);
spread.removeSheet(0);
See Also

Reference

Workbook type