R3 2016 AutoWidth configuration option

4 posts, 0 answers
  1. Robert Madrian
    Robert Madrian avatar
    154 posts
    Member since:
    Apr 2003

    Posted 21 Nov 2016 Link to this post

    Hi,

    • Where to find the new AutoWidth configuration Option?

    robert

  2. Nencho
    Admin
    Nencho avatar
    1609 posts

    Posted 22 Nov 2016 Link to this post

    Hello Robert,

    You can use it in the declaration of the widget:

    <input id="autocomplete" />
    <script>
        $("#autocomplete").kendoAutoComplete({
            dataSource: [
              { name: "Apples" },
              { name: "Orangessssssssssssssssssssssssssssssssssssssssssssssss" }
            ],
            dataTextField: "name",
            autoWidth: true
        });
    </script>

    and the dropdown should have its with automatically set regarding the largest item in it:

    http://www.screencast.com/t/ekpz9ehcod


    Regards,
    Nencho
    Telerik by Progress
    Telerik UI for ASP.NET MVC is ready for Visual Studio 2017 RC! Learn more.
  3. Robert Madrian
    Robert Madrian avatar
    154 posts
    Member since:
    Apr 2003

    Posted 22 Nov 2016 in reply to Nencho Link to this post

    I'm using the MVC Version!

    robert

  4. Nencho
    Admin
    Nencho avatar
    1609 posts

    Posted 24 Nov 2016 Link to this post

    Hello Robert,

    Indeed the option is not currently available in the Autocomplete for MVC. This is an omission which is already forwarded to our developer team and the option will be added as soon as possible.

    It should be available with some of our upcoming internal builds.

    Also, I have updated your telerik points for reporting for this issue.

    Regards,
    Nencho
    Telerik by Progress
    Telerik UI for ASP.NET MVC is ready for Visual Studio 2017 RC! Learn more.
Back to Top