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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Listbox inside Accordion not showing vertical scrollbar

Thread ID:





120842 Oct 21,2015 02:45 PM UTC Oct 22,2015 10:52 AM UTC JavaScript 1
Tags: ejAccordion
Ken Houk
Asked On October 21, 2015 02:45 PM UTC

I have an accordion with 14 sections, each with a listbox. I programmatically add a datasource to each listbox and when I then open that section of the accordion, even though a scrollbar should show, because there are so many items in the listbox, there is no scrollbar. If I keep that particular section of the accordion open and redo the data load into the accordion listboxes, whichever listbox is visible will get a vertical scrollbar, but the other listboxes in the collapsed sections of the accordion do not get scrollbars.

Saravanan Janakiraman [Syncfusion]
Replied On October 22, 2015 10:52 AM UTC

Hi Ken,

Thanks for contacting Syncfusion support.

Query: “The listbox in the open accordion will get a vertical scrollbar, but the other listboxes in the collapsed sections of the accordion do not get scrollbars.”

In the accordion control, the scrollbar width and height cannot be calculated for the listbox control when the panel is in collapsed state. To achieve your requirement, we have used “refresh” method in the “activate” event of the accordion. We have attached a sample in the following location, so please refer it. 

JS Playground Link: http://jsplayground.syncfusion.com/tkt3jhuy

If you need further assistance kindly get back to us and we will be happy to help you. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon