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

    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>"
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 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.

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top