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