Check documentation for the latest version of dhtmlxSuite attachStatusBar DHTMLX Docs


attaches a status bar object to component's bottom

object attachStatusBar( [object conf] );
confobjectoptional, status bar init params
objectstatus bar object


/* conf param properties */
    text:   "Text", // status bar init text
    height: 20      // status bar init height
/* init/attach status bar */
// default behaviour
var sbObj = dhxComponent.attachStatusBar();
// with text
var sbObj = dhxComponent.attachStatusBar({text: "Loading..."});
// with text and custom height
var sbObj = dhxComponent.attachStatusBar({text: "Loading...", height: 30});
/* operations with status bar object */
// set text
sbObj.setText("Page was successfuly loaded");
// get text
var text = sbObj.getText();

Back to top