DHTMLX Docs & Samples Explorer

Index
dhtmlxAccordion
API Methods

### attachStatusBar()

Required library edition:
Required library file: dhtmlxlayout.js / dhtmlxaccordion.js

attaches status bar to a cell, returns a 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

Status bar features:

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