Edit this page

groupTemplate String |Function

The template used to render the groups. By default the widget displays only the value of the group.

<select id="customers" style="width: 400px;"></select>
    $(document).ready(function() {
            placeholder: "Select customers...",
            dataTextField: "ContactName",
            dataValueField: "CustomerID",
            groupTemplate: "Group template: #: data #",
            height: 400,
            dataSource: {
                type: "odata",
                transport: {
                    read: "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers"
                group: { field: "Country" }
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article