SpreadJS Documentation
setActiveSheetIndex Method
GC.Spread.Sheets Namespace > Workbook type : setActiveSheetIndex Method
The active sheet index.
Sets the active sheet index for the control.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var returnValue; // Type: any
returnValue = instance.setActiveSheetIndex(value);
function setActiveSheetIndex( 
   value : number
) : any;

Parameters

value
The active sheet index.
Example
This example uses the setActiveSheetIndex method.
spread.setActiveSheetIndex(1);
See Also

Reference

Workbook type