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

Parameters

index
The index of the sheet to return.

Return Value

The specified sheet.
Example
This example gets the sheet and sets the cell forecolor.
var sheet1 = spread.getSheet(1);
sheet1.getCell(0,0).value("A1").foreColor("red");
See Also

Reference

Workbook type