value Array(default: [])

Define the value of the widget

Example

<select id="multiselect" multiple="multiple"></select>
<script>
$("#multiselect").kendoMultiSelect({
     dataSource: ["Item1", "Item2", "Item3", "Item4"],
     value: ["Item2", "Item3"]
});
</script>

Important: Define a list of data items if widget is not initially bound

Example

<select id="multiselect" multiple="multiple"></select>
<script>
$("#multiselect").kendoMultiSelect({
    autoBind: false,
    dataTextField: "productName",
    dataValueField: "productId",
    value: [{ productName: "Item 1", productId: "1" }, { productName: "Item 2", productId: "2" }]
});
</script>
In this article
Not finding the help you need? Improve this article