Combobox display multiple rows

4 posts, 1 answers
  1. Phil H.
    Phil H. avatar
    88 posts
    Member since:
    Nov 2008

    Posted 08 Jun 2014 Link to this post

    Hi All:

    I would like to display combobox/dropdownlist with multiple rows.  
    <input id="combobox" />
    <script>
        $("#combobox").kendoComboBox({
            dataSource: [
              { id: 1, name: "Apples" },
              { id: 2, name: "Oranges" },
              { id: 3, name: "Grapes" },
              { id: 4, name: "Bananas" }
            ],
            dataTextField: "name",
            dataValueField: "id"
        });
    </script>
    I would like it to display as follows:
    +--------------+
    | Apples       |
    | Oranges      |
    | Grapes       |
    | Bananas      |
    +--------------+
    This is being used as a navigation control on the left side of the form.

    Phil

  2. Answer
    Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 09 Jun 2014 Link to this post

    Hello Phil,

    I am afraid that such functionality is not supported. What you are looking for is the ListBox widget. You can check the following UserVoice item and vote it up, so we can see it implemented sooner:

    http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback/suggestions/3214868-listbox-widget

    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
  4. Phil H.
    Phil H. avatar
    88 posts
    Member since:
    Nov 2008

    Posted 09 Jun 2014 in reply to Kiril Nikolov Link to this post

    Thanks Kiril...  I'l work with the ListView
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 10 Jun 2014 Link to this post

    Hello Phil,

    In case you have any questions, regarding the implementation, please do not hesitate to contact us.

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