DHTMLX Docs & Samples Explorer

attachToolbar()

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