Base solution for your next web application
Open Closed

Create treeview like Zero project #524


User avatar
0
omital created

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)
  • User Avatar
    0
    codemonkey21 created

    I wanted to figure this out as well, I just haven't jumped into that area of my project yet.

  • User Avatar
    0
    hikalkan created
    Support Team

    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.

  • User Avatar
    0
    omital created

    Can you share a simple example please?

  • User Avatar
    0
    hikalkan created
    Support Team

    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.

  • User Avatar
    0
    omital created

    Yes. I thought creating tree view is a Hard work. I read jstree and ngJsTree , now my problem solved. Thank you so much.