Release notes for Kendo UI Professional =>Release notes发布说明
Components 组成部分
What's new 有什么新玩意
Remove legacy css from dataviz styles (#4251) =>legacy 遗留
suite parameter of the widgetInstance method is mandatory in ts definitions (#4277)
=>suite parameter 套件 mandatory 强制性、必须的
Inconsistency between custom formatting and standard formatting. (#3622)=>Inconsistency 不一致的 custom 自定义的 standard 标准的
DropDownTree的定义
<script>
$(document).ready(function () {
// create kendoDropDownTree from input HTML element
$("#dropdowntree").kendoDropDownTree({
placeholder: "Select ...",
height: "auto",
dataSource: [
{
text: "Furniture", expanded: true, items: [
{ text: "Tables & Chairs" },
{ text: "Sofas" },
{ text: "Occasional Furniture" }
]
},
{
text: "Decor", items: [
{ text: "Bed Linen" },
{ text: "Curtains & Blinds" },
{ text: "Carpets" }
]
}
]
});
});
</script>
Furniture 和Decor本来就是第一层下拉数据,在定义一层扩展 items加上的数据为第二层
对话框的弹出
<script>
$("#alertBtn").on("click", function () {
kendo.alert("This is a Kendo UI Alert message.");
});
$("#confirmBtn").on("click", function () {
kendo.confirm("Are you sure that you want to proceed?").then(function () {
kendo.alert("You chose the Ok action.");
}, function () {
kendo.alert("You chose to Cancel action.");
});
});
$("#promptBtn").on("click", function () {
kendo.prompt("Please, enter a arbitrary value:", "any value").then(function (data) {
kendo.alert(kendo.format("The value that you entered is '{0}'", data));
}, function () {
kendo.alert("Cancel entering value.");
})
});
</script>