Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Saurabh Malviya on Jan 15, 2010 07:22
open dhtmlx forum
Switching from Single Mode to Multi Mode in DHTMLX Accordion

I have been trying to implement DHTMLX Accordion v2.5. Below are few questions:
a) Is there any functionality to switch from one mode to another?
b) Is there any setHeight() function for Single mode? Or any explicit way of adjusting the item objects height?

Thanks
Answer posted by Alex (support) on Jan 15, 2010 07:33

>> Is there any functionality to switch from one mode to another?

multi mode should be switched before items are added.

>>  Is there any setHeight() function for Single mode? Or any explicit way of adjusting the item objects height?

you can use setSizes method to adjust accordion to the outer container. So you can change the size of conatiner and then call setSizes method.