DHTMLX Docs & Samples Explorer

attachTree(width, height, rootId)

adds a dhtmlxTree object to the pop-up window

  • width - (integer) the tree width
  • height - (integer) the tree height
  • rootId - (string) the id of the parent root. By default, 0
var myPop = new dhtmlXPopup({ ... });
var myTree = myPop.attachTree(350,300);

Related resources