【发布时间】:2017-01-19 06:33:28
【问题描述】:
我需要树视图控件,它应该如下所示:
http://plnkr.co/edit/JAIyolmqPqO9KsynSiZp?p=preview
+Parent
child
+Parent
child
child
child
child
+Parent
child
child
child
child
child
child
child
我只需要如上所示的简单树,只需要折叠-展开功能和单层。
使用 Angular 1.6 和引导程序。
我的收集数据是 - “任务列表”,每个任务都有 - “项目列表” 我如何绑定它并实现上面的树。
查看了其他链接,但看起来很复杂,功能更多
请提出任何选择。
【问题讨论】:
标签: javascript c# angularjs twitter-bootstrap treeview