开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜