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

Combobox Auto Width

1 Answer 133 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 23 Jun 2014, 08:27 PM
Hi,

I know that you can change the width of the combobox drop-down list programatically using the following method:

http://docs.telerik.com/kendo-ui/getting-started/web/combobox/overview#customizing-the-width-of-the-drop-down-list

If there some way to set the width of the drop down list to be automatic, so that the width changes to match the size of the content on a single line?

I am interested in templates that have one or more columns:

template: "<div><span>#: TicketTypeName #</span><span>#: TicketTypeDescription #</span></div>"
template: "<div><span>${TicketStatusName}</span></div>"

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 25 Jun 2014, 07:39 AM
Hello Jonathan,

I am afraid that auto resizing functionality is not currently supported with the Kendo UI Combobox. If you think that such functionality will be helpful you can post it as a suggestion to our UserVoice portal, so it will be considered for a future release.

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