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

changing accordion item height

Hello,

I use an accordion with different kinds of content in items. each item content is a gridView  with different row quantity in each item.
I would like to know how we can change the items height in order to fill the exact height of each item according its content. My aim is to have no scroll to do when binded items height is dynamically changing.

thanks,

Thibault

1 Reply

RG Rajkumar Ganesamoorthy Syncfusion Team January 8, 2016 07:19 AM UTC

Hi Thibault,

Thank you for contacting Syncfusion Support.

We have analyzed your query and created a workaround sample. In that sample, we did not set height property for SfAccordionItem. If we do not set the height for SfAccordionItem it automatically (Height=Auto) changes its height based on its content.

Please download the sample from below link

Link:AccordionItemHeightTesting

Regards,
Rajkumar G

Loader.
Live Chat Icon For mobile
Up arrow icon