Check documentation for the latest version of dhtmlxSuite enableMultiMode DHTMLX Docs


enables multi mode in accordion (more than one cell opened at time), disabled by default

void enableMultiMode( [string yScrollMode,number defaultHeight] );
yScrollModestringoptional, "auto" or "scroll" to set overflow style for parent
defaultHeightnumberoptional, change default height for items (90 by default)


var myAcc = new dhtmlXAccordion(...);
// first enabling multimode
// then adding items
myAcc.adItem("item_a", "The Secret of Monkey Island", true);
myAcc.adItem("item_b", "Monkey Island 2: LeChuck's Revenge");
myAcc.adItem("item_c", "The Curse of Monkey Island");


If you plan to use the multi mode, you need to enable it before adding items

Back to top