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

Combobox display multiple rows

3 Answers 201 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Phil H.
Top achievements
Rank 2
Phil H. asked on 08 Jun 2014, 02:36 PM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Nikolov
Telerik team
answered on 09 Jun 2014, 07:40 AM
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!
 
0
Phil H.
Top achievements
Rank 2
answered on 09 Jun 2014, 10:32 PM
Thanks Kiril...  I'l work with the ListView
0
Kiril Nikolov
Telerik team
answered on 10 Jun 2014, 08:28 AM
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!
 
Tags
ComboBox
Asked by
Phil H.
Top achievements
Rank 2
Answers by
Kiril Nikolov
Telerik team
Phil H.
Top achievements
Rank 2
Share this question
or