DHTMLX Docs & Samples Explorer

attachTree()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxlayout.js / dhtmlxaccordion.js

attaches dhtmlxTree to the cell, returns tree object

Attaching to the layout's cell:

    var dhxTree = dhxLayout.cells("a").attachTree(); // returns tree object

Attaching to the accordion's cell:

    var dhxTree = dhxAcc.cells(id).attachTree(); // returns tree object