Missak Boyajian
Missak Boyajian

Reputation: 2245

Ionic Angular Tree View Nested Checkboxes

I have an Ionic 3 page where I want to show this kind of data in a tree view.

{ id:0, parentid:null, name: 'folder1'}
{ id:1, parentid:0, name: 'folder2'}
{ id:2, parentid:null, name: 'folder3'}
{ id:3, parentid:2, name: 'folder4'}

I want to give to the user the option to upload a file and select multiple folders to upload to.enter image description here

What is the best way to achieve this? I checked at recursive components but at the end I was not sure how to get the selected Folders.

Upvotes: 2

Views: 2667

Answers (1)

Missak Boyajian
Missak Boyajian

Reputation: 2245

If anyone interested, I created it manually

https://github.com/missakation/IonicTreeView

Upvotes: 1

Related Questions