SpreadJS 13
GC.Spread.Sheets.StatusBar Namespace / StatusItem type / onUnbind Method
In This Topic
    onUnbind Method
    In This Topic
    Unbind the Context. Can override to remove 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.onUnbind();
    function onUnbind() : any;
    Example
    LabelItem.prototype.onUnbind = function () {
      // remove event listener related to context.
    }
    See Also

    Reference

    StatusItem type