Hi. How I can view hierarchy data with tree view in abp project with AngularJs like Zero project? Do you have any sample code?
5 Answer(s)
-
0
I wanted to figure this out as well, I just haven't jumped into that area of my project yet.
-
0
Hi,
In AspNet Zero; I used jstree (<a class="postlink" href="https://www.jstree.com/">https://www.jstree.com/</a>). Created a directive. I used JSON data source. Got data from server using reqular web api call (dynamic app service call actually) and built the tree. I can not share full source code since it's a paid product. But I try to help for specific implementation problems.
-
0
Can you share a simple example please?
-
0
Hi,
It includes html, css and javascript/angularjs logic, application service code, DTOs, mappings.. etc. Which part shall I share? I can share some javascript code but you will not exactly understand all. But, I can say that this is not a very special code. Just read documents of jstree, you will understand it's usage. If you want a specific part, I can share some code.
-
0
Yes. I thought creating tree view is a Hard work. I read jstree and ngJsTree , now my problem solved. Thank you so much.