When using MultiMode = false, heights of each accordion component will automatically adjust to the maximum size possible which is fine.
When using MultiMode = true, the components will have a height which I set with setHeight(x). If iI don’t set the height, the default height will be 90. The result is that the height of the parent frame is larger than the sum of component minimun heights. I want one or more components to adjust so the full height of the parent frame is used.
In v2.5, LoadJSon isn’t included so I wonder if one’s able to use "" to set height or another way to get the same effect as in the example. It would be nice if I could set height = " or something alike.
When you said my code works, it should work … so I removed all my css files … result height still 90 … then I went to search in the dhtmlx js files.
In dhtmxaccordion.js , there exists the line “this.itemH = 90;”, which is the source of my troubles … when I change 90 to another number the individual elements do change …
As I said, this is v2.5 build 91111 . I don’t know if this version supports using ‘*’ or another way (quick fix in js?) to have a variable height … yet if there is, please let me know
Maybe the best option is to just upgrade to v3.5 … ?
I didn’t create a complete demo because I don’t think it’s still necessary but I’d be glad to provide if you still think so.