This is a migrated thread and some comments may be shown as answers.

DropDownList changing width of items container programmatically

1 Answer 132 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Rich
Top achievements
Rank 1
Rich asked on 14 Nov 2012, 06:55 PM
Hi All i am trying to change the width of the actual drop-down from the dropdownlist while keeping the dropdownlist element itself a smaller size.

In the combobox you can

.data("kendoComboBox").list.width(380); and that sets the width of drop down itself.

this does not work for the kendoDropDownList . I've tried:

data("kendoDropDownList").list.width(380); and the items themselves no longer wrap BUT the actually background container stays the fixed width.

I don't want to go and modify the css because different instances of the drop down require different widths. 

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 15 Nov 2012, 09:27 AM
Hello Rich,

 
This is a known issue, which is already fixed. Check the latest official release. The online demos uses this build.

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
DropDownList
Asked by
Rich
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or