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