DHTMLX Docs & Samples Explorer

attachToolbar()

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

Attaching to a window:

    var dhxToolbar = dhxWins.window(id).attachToolbar();

Attaching to a tab:

    var dhxToolbar = dhxTabbar.cells(tabId).attachToolbar();