1
я использую kendodropdownTreeview для отображения TreeView в DropDownListКак установить значение по умолчанию для KendoDropDownTreeView
var dropDownTreeView = $("#dropDownTreeView").kendoExtDropDownTreeView({
treeview: {
dataSource: new kendo.data.HierarchicalDataSource({
data: [
{
text: "Furniture", items: [
{ text: "Tables & Chairs" },
{ text: "Sofas" },
{ text: "Occasional Furniture" }
]
},
{
text: "Decor", items: [
{ text: "Bed Linen" },
{ text: "Curtains & Blinds" },
{ text: "Carpets" }
]
}
]
})
}}).data("kendoExtDropDownTreeView");
я хочу, чтобы установить значение по умолчанию, выбранное значение «Декор», как я могу добиться этого?