SpreadJS Documentation
addSheet Method
The index at which to add a sheet.
The sheet to be added.
Inserts a sheet at the specific index.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var returnValue; // Type: any
returnValue = instance.addSheet(value, sheet);
function addSheet( 
   value : number,
   sheet : number
) : any;

Parameters

value
The index at which to add a sheet.
sheet
The sheet to be added.
Example
This example adds a sheet to the spreadsheet.
spread.addSheet(0,new GcSpread.Sheets.Sheet("custom"));
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.