ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
How to get scroll bar for the autocomplete list items
Title:
B
I
{code}
?
Hello, when I use autocomplete field, if the matching items list is very big, how to get the scroll bar to view all of them. Thanks
Save Changes
Cancel
test
asked at 05 Aug 2016
you should limit the completion list on the server side, using something like items.Take(10)
at 05 Aug 2016
Omu
After doing this, I can only now see 10 items, all of my other items are missed out. Its not showing any scroll bar to help see complete list.
at 05 Aug 2016
test
you can add this css instead: .ui-autocomplete { height: 200px;overflow-y: scroll;overflow-x: hidden; }
at 05 Aug 2016
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK