Kendo UI下拉菜单,使下拉面板比控件宽 [英] Kendo UI Dropdown, making the drop down panel wider than the control
本文介绍了Kendo UI下拉菜单,使下拉面板比控件宽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Kendo UI下拉菜单中,是否可以使下拉面板比控件宽?
In a Kendo UI Dropdown, is it possible to make the drop down panel wider than the control?
推荐答案
dropDownList
的 id
是 drop
CSS样式为:
If the id
of the dropDownList
is drop
, you need to define a CSS style as:
#drop-list {
width: 300px !important;
}
覆盖KendoUI计算宽度并将其设置为c $ c> 300px 。
for overwriting KendoUI computed width and set it to (in this example) 300px
.
这篇关于Kendo UI下拉菜单,使下拉面板比控件宽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文