# Kendo MVVM DropDownList - Set Selected Item

**URL:** <https://boards.straightdope.com/t/kendo-mvvm-dropdownlist-set-selected-item/693808>\
**Category:** Factual Questions\
**Created:** [July 23, 2014, 2:46am UTC](https://boards.straightdope.com/t/kendo-mvvm-dropdownlist-set-selected-item/693808 "2014-07-23T02:46:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fiddle\_Peghead](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/fiddle_peghead/32/3506_2.png) [@Fiddle\_Peghead](https://boards.straightdope.com/u/Fiddle_Peghead)\
**Post date:** [July 23, 2014, 2:46am UTC](https://boards.straightdope.com/t/kendo-mvvm-dropdownlist-set-selected-item/693808/1 "2014-07-23T02:46:32Z")

</div>

No one on [stackoverflow.com](http://stackoverflow.com) can answer this, and I can’t find it myself. GQ has rarely failed me before. Can anyone help?

To wit:

I have the following html for a Kendo MVVM DropDownList:

```
            &lt;select id="responseTypeDDL"
                data-role="dropdownlist"
                data-text-field="SystemResponseTypeCode"
                data-value-field="SystemResponseTypeId"
                data-bind="source: responseTypes"&gt;
            &lt;/select&gt;

```

This is my view model:

```
    SC.ViewModels.Reference.ResponseTypeDataSource.read(); // successfully reads data

    var responseTypeDDL = kendo.observable({
        responseTypes: SC.ViewModels.Reference.ResponseTypeDataSource
    });

    kendo.bind($("#responseTypeDDL"), responseTypeDDL);

```

The ResponseTypeDataSource.read() method returns a list of “XML” and “JSON”, and these are the values that get added to the dropdown. This is the SystemResponseTypeCode field. I also read another data item from the database and check its response type. Let’s say it is “JSON”. How do I set the drop down to have “JSON” selected?
