Spread.Sheets Documentation
SheetTabClick Event
GC.Spread.Sheets Namespace > Events type : SheetTabClick Event
The sheet that triggered the event.
The sheet's name.
The index of the sheet tab that the user clicked.
Occurs when the user clicks the sheet tab.
Syntax
var instance; // Type: Events
instance.SheetTabClick = function(sheet, sheetName, sheetTabIndex) { };
SheetTabClick = function ( 
   sheet : Worksheet,
   sheetName : string,
   sheetTabIndex : number
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
sheetTabIndex
The index of the sheet tab that the user clicked.
Example
This example uses the SheetTabClick event.
spread.bind(GC.Spread.Sheets.Events.SheetTabClick, function (e, info) {    
        alert("Index (" + info.sheetTabIndex + ")");
});
See Also

Reference

Events type