groupTemplateString|Function
The template used to render the groups. By default the widget displays only the value of the group.
<input id="customers" style="width: 400px" />
<script>
$(document).ready(function() {
$("#customers").kendoAutoComplete({
dataTextField: "ContactName",
groupTemplate: "Group: #:data#",
height: 400,
dataSource: {
transport: {
read: "https://demos.telerik.com/service/v2/core/Customers"
},
group: { field: "Country" }
}
});
});
</script>
In this article