how to bind tree structure to accordion using angular in tree structure like parent child , how to get this, am able to bind complete list angular code
angular code
$scope.groups = [
{
ID: 1,
Name: "parent",
ParentID:0
},
{
ID: 2,
Name: "child",
ParentID: 1
},
{
ID: 3,
Name: "subchild1",
ParentID: 2
},
{
ID: 4,
Name: "subchild2",
ParentID: 2
}
];
view
{{grp.Name}}
{{grp.Name}}
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
suman goudPosted Dec 19, 2016, 1:20 AM
Bikesh SrivastavaPosted Dec 17, 2016, 1:14 PM