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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Listbox inside Accordion not showing vertical scrollbar

Thread ID:

Created:

Updated:

Platform:

Replies:

120842 Oct 21,2015 02:45 PM UTC Oct 22,2015 10:52 AM UTC JavaScript 1
loading
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. 

Regards,
A.J.Saravanan


CONFIRMATION

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.

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

;