valuePrimitive Boolean(default: false)

Specifies the value binding behavior for the widget. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.

Example - specify that the View-Model field should be updated with the selected item value

<input id="dropdowntree" data-bind="value: selectedProductId, source: products">

<script>
    $("#dropdowntree").kendoDropDownTree({
        valuePrimitive: true,
        dataTextField: "name",
        dataValueField: "id"
    });
    var viewModel = kendo.observable({
        selectedProductId: null,
        products: [
            { id: 1, name: "Coffee" },
            { id: 2, name: "Tea" },
            { id: 3, name: "Juice" }
        ]
    });

    kendo.bind($("#dropdowntree"), viewModel);
</script>
In this article