Hi,
I am facing problem in getting the values from database in tree view.
Am using parent and child location data in same table. how do i proceed with get method.
Am using the following hql queries to the parent and child data
SELECT pk_location_id FROM Location loc where loc.deleted=0 and parent_location_id=0
in for loop
select loc from Location loc where loc.parent_location_id="+query.getResultList().get(i)
And here is the link for angular tree component
http://plnkr.co/edit/vd9XXAQTHXxkCXaSjUHb?p=preview
Can any one help me out.