SpreadJS Documentation
setName Method
The sheet name.
Sets the name of this sheet.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: any
value = instance.setName(name);
function setName( 
   name : string
) : any;

Parameters

name
The sheet name.
Example
This example sets the sheet name.
spread.sheets[0].setName("The first sheet");
spread.sheets[1].setName( "The second sheet");
This example sets the name for the active sheet.
activeSheet.setName("Test");
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.