Spread.Sheets 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 GC.Spread.Sheets.Workbook(host);
var value; // Type: any
value = instance.addSheet(index, sheet);
function addSheet( 
   index : number,
   sheet : number
) : any;

Parameters

index
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 GC.Spread.Sheets.Worksheet("custom"));
See Also

Reference

Workbook type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.