2

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.

1 Answer 1

1

If anyone interested, I created it manually

https://github.com/missakation/IonicTreeView

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.