label.floatingBoolean
(default: false)
If set to true
, the widget will be wrapped in a container that will allow the floating label functionality.
Important: The value method does not trigger the
focusout
event of the input.
This can affect the floating label functionality.
To overcome this behavior, manually invoke the refresh
method of the Floating Label: $("#multiselect").data("kendoMultiColumnComboBox").label.floatingLabel.refresh();
Example
<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",
floating: true
}
});
</script>
In this article