SpreadJS Documentation
getSheetIndex Method
The sheet name.
Gets the sheet index with the specified name.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var value; // Type: number
value = instance.getSheetIndex(name);
function getSheetIndex( 
   name : sting
) : number;

Parameters

name
The sheet name.

Return Value

The sheet index.
Example
This example uses the getSheetIndex method.
var sheet1 = spread.getSheetIndex("Sheet2");
alert(sheet1);
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.