In a Kendo UI Dropdown, is it possible to make the drop down panel wider than the control?
Another possible approach:
var dropdownlist = $("#titles").data("kendoDropDownList");
// set width of the drop-down list
dropdownlist.list.width(400);
Code snippet is taken from the official examples (link).
If the id
of the dropDownList
is drop
, you need to define a CSS style as:
#drop-list {
width: 300px !important;
}
for overwriting KendoUI computed width and set it to (in this example) 300px
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With