[英]Building a hierarchy tree for three connected lists inside sharepoint online using JavaScript
We have these linked sharepoint lists:-我们有这些链接的 sharepoint 列表:-
Department list部门列表
Category List >> has a lookup field to the Department list.类别列表 >> 具有部门列表的查找字段。
Asset list >> has a lookup field to the Category list.资产列表 >> 具有类别列表的查找字段。
so is there a way using JavaScript + sharepoint rest api to build a tree-like view which will show the related Department >> then under each department to show the related Categories >> and then under each category to show the related Assets? so is there a way using JavaScript + sharepoint rest api to build a tree-like view which will show the related Department >> then under each department to show the related Categories >> and then under each category to show the related Assets?
Thanks谢谢
Thank感谢
jsTree plugin offers an easy way to generate a tree view. jsTree 插件提供了一种生成树视图的简单方法。 And it's very convenient to set up its data source:并且设置它的数据源非常方便:
BR BR
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.