Combobox Auto Width

2 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    6 posts
    Member since:
    Jun 2014

    Posted 23 Jun 2014 Link to this post


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

    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>"
  2. Kiril Nikolov
    Kiril Nikolov avatar
    2598 posts

    Posted 25 Jun 2014 Link to this post

    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.

    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top