Adding an item dynamically to kendo combobox

If any of you used kendo ui as you can, please let me know how to dynamically add a new item to kendo combobox.

I tried google search and everywhere, and I came to the conclusion that there is no such function in kendo.

For reference - JSBIN

kendo link is here

Thanks in advance.

+8
jquery html css combobox kendo-ui
source share
1 answer

As you probably know, there are two ways to create combobox (selection and input). I was not able to add a new element dynamically using select (e.g. your example). However, using data entry and data binding is simple.

$("#comboBox").data("kendoComboBox").dataSource.add({ text: "Five", value: "5" }); 

JSBIN Example 1 . JSBIN example 2 .

+12
source share

All Articles