SpreadJS Documentation
setActiveSheet Method
GC.Spread.Sheets Namespace > Workbook type : setActiveSheet Method
The name of the sheet to make the active sheet.
Sets the active sheet by name.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var value; // Type: any
value = instance.setActiveSheet(name);
function setActiveSheet( 
   name : string
) : any;

Parameters

name
The name of the sheet to make the active sheet.
Example
This example sets the active sheet.
spread.setSheetCount(3);
spread.setActiveSheet("Sheet2");
See Also

Reference

Workbook type