dataTextField String(default: "")

The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field.

Important When dataTextField is defined, the dataValueField option also should be set.

Example - set the dataTextField

<select id="multiselect" multiple="multiple">
    <option>Item1</option>
    <option>Item2</option>
</select>
<script>
$("#multiselect").kendoMultiSelect({
    dataSource: [
        { Name: "Parent1", Id: 1 },
        { Name: "Parent2", Id: 2 }
    ],
    dataTextField: "Name",
    dataValueField: "Id"
});
</script>
In this article
Not finding the help you need? Improve this article