Required library edition:
Required library file: dhtmlxlayout.js / dhtmlxaccordion.js
attaches dhtmlxLayout to the cell, returns layout object
Attaching to the layout's cell:
var dhxLayout2 = dhxLayout.cells("a").attachLayout("3L"); // returns layout object
Attaching to the accordion's cell:
var dhxLayout = dhxAcc.cells(id).attachLayout("3L"); // returns layout object
Attaching to a window:
var dhxLayout = dhxWins.window(id).attachLayout("3L");
Attaching to a tab:
var dhxLayout = dhxTabbar.cells(tabId).attachLayout("3L","dhx_skyblue");