DHTMLX Docs & Samples Explorer

attachFolders()

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

attaches dhtmlxFolders to a cell, returns a folders object

Attaching to the layout's cell:

var dhxFolders = dhxLayout.cells("a").attachFolders(); // returns folders object

Attaching to the accordion's cell:

var dhxFolders = dhxAcc.cells(id).attachFolders(); // returns folders object