DHTMLX Docs & Samples Explorer

attachAccordion(width, height)

adds a dhtmlxAccordion object to the pop-up window

  • width - (integer) the accordion width
  • height - (integer) the accordion height
var myPop = new dhtmlXPopup({ ... });
 
var myAcc = myPop.attachAccordion(350, 300);
myAcc.addItem("a1", "General Info");
myAcc.addItem("a2", "Common Setting");
myAcc.openItem("a1");

Related resources