Required library edition:
Required library file: dhtmlxlayout.js / dhtmlxaccordion.js
attaches dhtmlxToolbar to a cell, returns a toolbar object
Attaching to the layout's cell:
var dhxToolbar = dhxLayout.cells("a").attachToolbar(); // returns toolbar object
Attaching to the accordion's cell:
var dhxToolbar = dhxAcc.cells(id).attachToolbar(); // returns toolbar object