我在我的应用程序中有一个kendo树形视图,我想仅为kendo树形视图的父节点应用样式。如何应用样式,例如字体加粗,以应用于树形视图的父节点?我的树形视图代码如下:
var tree= $("#treeview").kendoTreeView({
checkboxes: {
checkChildren: true
},
dataSource: [{
id: 2, text: "select all", expanded: true,
items: [
{ id: 3, text: "ABH" },
{ id: 4, text: "VFG" },
{ id: 5, text: "VFGT" },
{ id: 6, text: "GTYUJ" },
{ id: 7, text: "GHJ" }
]
}]
}).data("kendoTreeView");
here is the JSfiddle.