dayDropDownEditor : function (container, options) {
$('<
input
id
=
"' + options.field + '"
data-bind
=
"value:' + options.field + '"
/>')
.appendTo(container)
.kendoDropDownList({
suggest: true,
dataSource: [
{name: '조업' },
{name: '안함' }
],
dataTextField: 'name',
dataValueField: 'name',
valuePrimitive: true,
});
}
Hi,
My dropbox list is displayed correctly.
However, the default is still "", which is blank.
I tried using select and also index but it didn't work.
How can I make Dropbox default to the first data if I don't pick anything?
If I pick one, the data is imported normally.
If uneven, it is empty.