I am using SPO, I would like to view in the document library all folders and subfolder.

For example: folder A then shows Subfolder B and Subfolder C and so on up to 4 levels (like file explorer view).

Is this possible?

enter image description here

1 Answer 1


Not possible with OOB solutions, but technically you can add a tree-view navigation on the page to display the folder structures.

See the references here:

Classic Experience: Sharepoint 2013 : Tree view structure for Document library and setting permissions.

Modern Experience: Tree view navigation using PnP Treeview control in the SharePoint Framework (SPFx) web part.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.