dhtmlxAccordion multimode and dynamic height

Hello Support,

i want my dhtmlxAccordion in multimode to align its cells heights by content.
Is there any way to set the cell-height like this?

Hello,

there isn’t such a built-in functionality.
You may try to define new sizes for accordion container and its items, and then call setSizes() method. For example:

var dhxAccord = new dhtmlXAccordion(“accordObj”);

document.getElementById(“accordObj”).style.height = “500px”;
dhxAccord.cells(“a1”).setHeight(200);
dhxAccord.cells(“a2”).setHeight(200);
dhxAccord.setSizes();