We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Is there any way I can make accordion expand by default?

Hi,

Would like to know if there is any way I can make all accordion headers expand by default. I can't find any property that can do this for now.

2 Replies

BK Bharadhi K Syncfusion Team October 27, 2014 06:06 AM UTC

Hi Nik,


Thank you for using Syncfusion products.


Query : Is there any way I can make accordion expand by default?


Yes, By default  you can make all Accordion headers expand by calling the method SelectAll(). But please make sure that the SelectionMode is ZeroOrMore or OneOrMore.

 

Please find the sample attached.


Regards,
Bharadhi K


Attachment: Accordion_117467_42e44e1d.zip


NA Nik Adli Hakimi October 27, 2014 02:33 PM UTC

That worked wonderfully! Thanks :)

Loader.
Up arrow icon