How to add a vertical scroll bar to a dojo select?
I’m dynamically populating a Dojo se开发者_JAVA百科lect widget, but the list seems to be abnormally long. How can I add a vertical scroll bar to it? The size attribute doesn’t work here.
If you're using a dijit.form.Select there's an attribute called maxHeight that controls the height of the dropdown.
精彩评论