SpreadJS Documentation
getActiveSheetIndex Method
Gets the active sheet index of the control.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var value; // Type: number
value = instance.getActiveSheetIndex();
function getActiveSheetIndex() : number;

Return Value

The active sheet index.
Example
This example uses the getActiveSheetIndex method.
var index = spread.getActiveSheetIndex();
alert(index);
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.