Base solution for your next web application
BLACK FRIDAY
From Nov 21
To Dec 1
XXDAYS : XXHRS : XXMIN : XXSEC
SAVE UP TO$3K
Also valid for the
existing customers!
Open Closed

Create treeview like Zero project #524


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

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

  • 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.

  • 0
    omital created

    Can you share a simple example please?

  • 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.

  • 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.