Home  >  Forum  >  Angular
Post New Query

How to fetch data from data base in a tree view using angular 4



Asked on December 11, 2017
How to fetch data from data base in a tree view using angular 4



Replied on December 24, 2017
I got solution for my query, referred this link "http://plnkr.co/edit/vd9XXAQTHXxkCXaSjUHb?p=preview" and changed the getChildData function as i required.

While saving the data to db have saved dataname, parentid and has_children values

Mentioned the parent node as my start node, basically it got worked for me with link i referred and changed some part of code. 


Write Answer







©2019 concretepage.com | Privacy Policy | Contact Us