最近在学kendo ui,在使用treeview的时候,官方api和事例都有没说怎样

在数据源给节点添加url,

          data: [
                        { text: "Furniture", items: [
                            { text: "Tables & Chairs",items:[
								{text:"再来一层_1"},
								{text:"再来一层_2"},
								{id:2,text:"指向百度的""}
							] },
                            { text: "Sofas" },
                            { text: "Occasional Furniture" }
                        ] },
                        { text: "Decor", items: [
                            { text: "Bed Linen" },
                            { text: "Curtains & Blinds" },
                            { text: "Carpets" }
                        ] }
                    ]
                });

 各种百度,询问无果之后,无奈去翻了一下源码,找到这个玩意

尝试添加之后成功

                   data: [
                        { text: "Furniture", items: [
                            { text: "Tables & Chairs",items:[
								{text:"再来一层_1"},
								{text:"再来一层_2"},
								{id:2,text:"指向百度的",url:"http://www.baidu.com"}
							] },
                            { text: "Sofas" },
                            { text: "Occasional Furniture" }
                        ] },
                        { text: "Decor", items: [
                            { text: "Bed Linen" },
                            { text: "Curtains & Blinds" },
                            { text: "Carpets" }
                        ] }
                    ]
                });

 api。事例简略 ,学习来好痛苦啊,,,