DHTMLX Docs & Samples Explorer

attachTabbar()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxcontainer.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

Attaching to a window:

    var dhxTabbar = dhxWins.window(id).attachTabbar();

Attaching to a tab:

    var dhxTabbar = dhxTabbar.cells(tabId).attachTabbar();