SpreadJS Documentation
GC.Spread.Sheets Namespace / Events type / SheetTabDoubleClick Event
The sheet that triggered the event.
The sheet's name.
The index of the sheet tab that the user double-clicked.
In This Topic
    SheetTabDoubleClick Event
    In This Topic
    Occurs when the user double-clicks the sheet tab.
    Syntax
    var instance; // Type: Events
    instance.SheetTabDoubleClick = function(sheet, sheetName, sheetTabIndex) { };
    SheetTabDoubleClick = 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 double-clicked.
    Example
    This example uses the SheetTabDoubleClick event.
    spread.bind(GC.Spread.Sheets.Events.SheetTabDoubleClick, function (e, info) {    
            alert("Index (" + info.sheetTabIndex + ")");
    });
    See Also

    Reference

    Events type