DHTMLX Docs & Samples Explorer

attachStatusBar()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxcontainer.js

attaches status bar to the cell, returns status bar object

Attaching to the layout's cell:

    var sb = dhxLayout.cells("a").attachStatusBar(); // returns status bar object

Attaching to the accordion's cell:

    var sb = dhxAcc.cells(id).attachStatusBar(); // returns status bar object

Attaching to a window:

    var sb = dhxWins.window(id).attachStatusBar();

Attaching to a tab:

    var sb = dhxTabbar.cells(tabId).attachStatusBar();

Status bar features:

    // setting status bar text
    sb.setText("Status Bar");
    // getting status bar text
    var sbText = sb.getText();