SpreadJS 13
GC.Spread.Sheets.StatusBar Namespace / StatusItem type / onBind Method
The excute context for the statusbar item.
In This Topic
    onBind Method
    In This Topic
    Bind the Context. Can override to add context related event listener.
    Syntax
    var instance = new GC.Spread.Sheets.StatusBar.StatusItem(name,
                                                            options,
                                                            options.menuContent,
                                                            options.align,
                                                            options.tipText,
                                                            options.visible,
                                                            options.showStatusInContexMenu,
                                                            options.value);
    var value; // Type: any
    value = instance.onBind(context);
    function onBind( 
       context : Workbook
    ) : any;

    Parameters

    context
    The excute context for the statusbar item.
    Example
    LabelItem.prototype.onBind = function (context) {
      // do something about context.
    }
    See Also

    Reference

    StatusItem type