SpreadJS 13
GC.Spread.Sheets.StatusBar Namespace / StatusBar type / dispose Method
In This Topic
    dispose Method
    In This Topic
    Dispose the StatusBar and unbind all events.
    Syntax
    var instance = new GC.Spread.Sheets.StatusBar.StatusBar(host, options, options.items);
    var value; // Type: any
    value = instance.dispose();
    function dispose() : any;
    Example
    let spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"));
    let statusBar = new GC.Spread.Sheets.StatusBar.StatusBar(document.getElementById('statusBar'));
    statusBar.bind(spread);
    // do something
    statusBar.dispose();
    See Also

    Reference

    StatusBar type