SpreadJS Documentation
destroy Method
GC.Spread.Sheets Namespace > Workbook type : destroy Method
Destroys the workbook and all sheets it contains.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var value; // Type: any
value = instance.destroy();
function destroy() : any;
Example
//This example destroys the workbook instance.
spread.destroy();
Remarks
Destroys the workbook and all sheets it contains.
See Also

Reference

Workbook type