I have this
$('<input data-bind="value:' + options.field + '"/>')
.appendTo(container)
.kendoDropDownList({
suggest: true,
select: function(e) {
personSource.setDirty();
},
dataSource: rows,
});////////////////
whenever I load the page the dropdownlist is not automatically filled with the first value of the list (default value).
I have to click the mouse or do something and it gets filled.
if I put it like thisalert('hello');
$('<input data-bind="value:' + options.field + '"/>')
.appendTo(container)
.kendoDropDownList({
suggest: true,
select: function(e) {
personSource.setDirty();
},
dataSource: rows,
});
after I click the alert the default value is filled.How can I make it fill the default without needing a popup?