Required library edition:
Required library file: dhtmlxlayout.js / dhtmlxaccordion.js
attaches dhtmlxToolbar to the cell, returns 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