SpreadJS Documentation
getSheet Method
The index of the sheet to return.
Gets the specified sheet.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var value; // Type: Sheet
value = instance.getSheet(index);
function getSheet( 
   index : number
) : Sheet;

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

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.