label.content String|Function (default: "")

Sets the inner HTML of the label.

Example - create a label from a string

<select id="customers"></select>
<script>
$("#customers").kendoMultiSelect({
    dataTextField: "ContactName",
    dataValueField: "CustomerID",
    dataSource: {
        type: "odata",
        transport: {
            read: "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers"
        },
        group: { field: "Country" }
    },
    label: { content: "Customers" }
});
</script>

The function context (available through the keyword this) will be set to the widget instance.

Example - create a label from a function

<select id="customers"></select>
<script>
$("#customers").kendoMultiSelect({
    dataTextField: "ContactName",
    dataValueField: "CustomerID",
    dataSource: {
        type: "odata",
        transport: {
            read: "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers"
        },
        group: { field: "Country" }
    },
  label: {
    content: function() {
        return "Customers";
    }
  }
});
</script>
In this article