Need to show document library folders in tree view to upload document in any sub folder.

I want upload a file in document library, For that i want to show tree view for folder from document library to upload document in any sub-folder or root folder.
I'm doing this for sharepoint online using Javascript object model

If anyone have any ideas or any code snippet for how to do it  please share it.

Abhijit ManeSoftware DeveloperAsked:
Who is Participating?
Walter CurtisSharePoint AEDCommented:
Per default, when you upload to a library with folders the upload dialog shows a folder tree. You may be reinventing the wheel.

Good luck...
Abhijit ManeSoftware DeveloperAuthor Commented:
I want give tree view to user in UI. So that when user upload a document he will select folder from tree view.
Walter CurtisSharePoint AEDCommented:
Information provided is accurate and correct.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.