Let me add some additional code:
specimenTypesDropDown = $("#specimen_type_id").kendoDropDownList({
dataTextField: 'specimen_type',
dataValueField: 'id',
dataSource: specimenTypesDataSource,
autoBind:true,
index: 1
}).data("kendoDropDownList");
That's the definition of my drop-down.
Just opening the form, the drop-down shows the concerning item correctly.
If I add:
$('#specimens-form')[0].reset();
The drop-down shows a blank item although there is no blank item i the data.
Adding a select like:
specimenTypesDropDown.select(2);
Select the correct item but only if I comment the 'reset' line. If a reset the form, nothing is selected in the drop down.
-> selection works in this case below
// $('#specimens-form')[0].reset();
specimenTypesDropDown.select(2);
-> selection doesn't work in that case below
$('#specimens-form')[0].reset();
specimenTypesDropDown.select(2);
Although logging the datasource data etc. gives meaningful results.
Regards
Alex