SpreadJS 13
GC.Spread.Sheets.StatusBar Namespace / StatusBar type / StatusBar Constructor
The DOM Element.
The array of StatusItem.
In This Topic
    StatusBar Constructor
    In This Topic
    Represents status bar.
    Syntax
    var instance = new GC.Spread.Sheets.StatusBar.StatusBar(host, options, options.items);
    function StatusBar( 
       host : HTMLElement,
       (optional) options : Object,
       (optional) options.items : undefined
    ) : StatusBar;

    Parameters

    host
    The DOM Element.
    options
    options.items
    The array of StatusItem.
    Example
    let statusBar = new GC.Spread.Sheets.StatusBar.StatusBar(document.getElementById('statusBar'),
      {items: [new GC.Spread.Sheets.StatusBar.StatusItem('labelItem', {menuContent: 'label'})]});
    See Also

    Reference

    StatusBar type