Kendo ui 是否可以从KendoTreeView获取选定节点并在Angular 5中的另一个KendoTreeView中显示它们

Kendo ui 是否可以从KendoTreeView获取选定节点并在Angular 5中的另一个KendoTreeView中显示它们,kendo-ui,kendo-treeview,Kendo Ui,Kendo Treeview,我正在尝试从KendoTreeView获取所有选定节点,并显示一个仅包含上一棵树中选定值的Treeview 这有可能实现吗 提前感谢。请确保这是可能的,下面是一个大致的方法,可以从以下内容中获得: html{字体大小:14px;字体系列:Arial、Helvetica、sans serif;} 检查节点 $(“#树视图2”).kendoTreeView(); $(“#treeview”).kendoTreeView({ 复选框:{ 孩子们:是的 }, 检查:onCheck, 数据源:[{

我正在尝试从KendoTreeView获取所有选定节点,并显示一个仅包含上一棵树中选定值的Treeview

这有可能实现吗


提前感谢。

请确保这是可能的,下面是一个大致的方法,可以从以下内容中获得:


html{字体大小:14px;字体系列:Arial、Helvetica、sans serif;}
检查节点

$(“#树视图2”).kendoTreeView(); $(“#treeview”).kendoTreeView({ 复选框:{ 孩子们:是的 }, 检查:onCheck, 数据源:[{ id:1,文本:“我的文档”,扩展:true,精灵类:“根文件夹”,项目:[ { id:2,文本:“剑道UI项目”,扩展:true,精灵类:“文件夹”,项目:[ {id:3,文本:“about.html”,spritecsclass:“html”}, {id:4,文本:“index.html”,spritecsclass:“html”}, {id:5,文本:“logo.png”,spritecsclass:“image”} ] }, { id:6,文本:“新网站”,扩展:true,精灵类:“文件夹”,项目:[ {id:7,文本:“mockup.jpg”,spritecsclass:“image”}, {id:8,文本:“Research.pdf”,spritecsclass:“pdf”}, ] }, { id:9,文本:“报告”,扩展:true,精灵类:“文件夹”,项目:[ {id:10,文本:“二月.pdf”,精灵类:“pdf”}, {id:11,文本:“March.pdf”,spritecsclass:“pdf”}, {id:12,文本:“April.pdf”,spritecsclass:“pdf”} ] } ] }] }); //函数,用于收集选中节点的ID 函数checkedNodeId(节点,checkedNodes){ 对于(var i=0;i
确保这是可能的,下面是一个大致的方法,可以从以下几方面入手:


html{字体大小:14px;字体系列:Arial、Helvetica、sans serif;}
检查节点

$(“#树视图2”).kendoTreeView(); $(“#treeview”).kendoTreeView({ 复选框:{ 孩子们:是的 }, 检查:onCheck, 数据源:[{ id:1,文本:“我的文档”,扩展:true,精灵类:“根文件夹”,项目:[ { id:2,文本:“剑道UI项目”,扩展:true,精灵类:“文件夹”,项目:[ {id:3,文本:“about.html”,spritecsclass:“html”}, {id:4,文本:“index.html”,spritecsclass:“html”}, {id:5,文本:“logo.png”,spritecsclass:“image”} ] }, { id:6,文本:“新网站”,扩展:true,精灵类:“文件夹”,项目:[ {id:7,文本:“mockup.jpg”,spritecsclass:“image”}, {id:8,文本:“Research.pdf”,spritecsclass:“pdf”}, ] }, { id:9,文本:“报告”,扩展:true,精灵类:“文件夹”,项目:[ {id:10,文本:“二月.pdf”,精灵类:“pdf”}, {id:11,文本:“March.pdf”,spritecsclass:“pdf”}, {id:12,文本:“April.pdf”,spritecsclass:“pdf”} ] } ] }] }); //函数,用于收集选中节点的ID 函数checkedNodeId(节点,checkedNodes){ 对于(var i=0;i