If i understand correctly, u wand to know wheter the input value exist in binded values. For this case i use the follow js:
cmbChangeWorkType: function () {
var combobox = $('#WorkTypeId').data('kendoComboBox');
var ds = combobox.dataSource;
var value = combobox.value();
var data = ds['_data'];
var item = pdInfo.getByGuid(data, value);
if (item == null) { // check wheter the input value exist in binded values
combobox.value(null); // set the null if value not in list
}
},
getByGuid: function (data, guid) {
for (var i = 0; i < data.length; i++) {
if (data[i]['Guid'] == guid) {
return data[i];
}
}
return null;
},