开发者

how to set size of the dojo dropdownselect ?

开发者 https://www.devze.com 2023-04-05 15:36 出处:网络
I am using dojox.form.DropDownSelect (not filtering select) in my page. But I am not able to restrict the height of the dropdown. I tried using size, maxHeght etc. but the drop down leep growing as th

I am using dojox.form.DropDownSelect (not filtering select) in my page. But I am not able to restrict the height of the dropdown. I tried using size, maxHeght etc. but the drop down leep growing as the list grows.

Is there any way to restrict the hei开发者_如何转开发ght?


I don't know if there is a convenient, documented, way already there. Did you just try to guess things or did you actually search the API reference?

In case there is not you could try inspecting the generated dom structure through Firebug. There is probably a div ot table somewhere in there that you can limit the height via a css rule.

#that_drop_down .class_of_the_convenient_div {
    height: 500px;
}
0

精彩评论

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