Check documentation for the latest version of dhtmlxSuite attachTree DHTMLX Docs

attachTree

adds a tree object to the popup

dhtmlXTreeObject attachTree(number width,number height,string|number rootId);
widthnumbertree width
heightnumbertree height
rootIdstring|numberthe id of the parent root (see dhtmlXTree docs, 0 by default)
dhtmlXTreeObjectdhtmlXTree instance

Example

var myPop = new dhtmlXPopup(...);
var myTree = myPop.attachTree(350, 300);

Back to top