Required library edition:
Required library file: dhtmlxlayout.js
attaches a dhtmlxToolbar to the whole layout or a cell
//to the whole layot var dhxToolbar = dhxLayout.attachToolbar(); // returns toolbar object //to a cell var dhxToolbar = dhxLayout.cells(id).attachToolbar(); // returns toolbar object