Spread.Sheets Documentation
getSheetIndex Method
The sheet name.
Gets the sheet index with the specified name.
Syntax
var instance = new GC.Spread.Sheets.Workbook(host);
var value; // Type: number
value = instance.getSheetIndex(name);
function getSheetIndex( 
   name : string
) : 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

Workbook type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.