dataTextField String (default: null)

The field of the data item used when searching for suggestions. This is the text that will be displayed in the list of matched results.

Example - set the dataTextField

<input id="autocomplete" />
<script>
var data = [
  { id: 1, name: "Apples" },
  { id: 2, name: "Oranges" }
];
$("#autocomplete").kendoAutoComplete({
  dataTextField: "name", // The widget is bound to the "name" field
  dataSource: data
});
</script>
In this article
Not finding the help you need? Improve this article