Is it possible to have multiple roots for the File Manager?

I have a setup where I would like to use two different root locations within the same file manager component and have them both visible at the same time.
Currently, it looks like thisScreen Shot 2021-09-28 at 9.41.49 AM.png

But would there be a way to remove "Files" and just have "Sample" and "Local Files" as two separate roots?


1 Reply

KR Keerthana Rajendran Syncfusion Team September 29, 2021 07:47 AM UTC

Hi Daniel, 

Thanks for contacting Syncfusion support. 

We checked your query to have multiple root folder with File Manager. We would like to mention that, currently we do not have this feature and support for “Multiple root folder” had already been considered as a feature and this will be included in any one of our upcoming releases.  

You can track the status through the below portal link. 


Generally, we will plan any feature implementation based on customer request count, feature rank and wish list plan. 

As for now, you can hide the root folder through CSS so that you can have the sub folders displayed as multiple root folders in the UI.  

Refer to the following code. 

<style> 
.e-filemanager .e-treeview .e-list-item.e-level-1 > .e-text-content { 
  display: none; 

.e-filemanager .e-treeview .e-list-item.e-level-1 > .e-ul { 
  padding: 0; 

.e-filemanager .e-address .e-address-list-item:nth-child(1) { 
  display: none; 

.e-filemanager .e-address .e-address-list-item:nth-child(2) .e-icons { 
  display: none; 
</style> 


Kindly refer to the below UG and demo links for available features with EJ2 File Manager component. 



Please get back to us if you need further assistance. 

Regards, 
Keerthana R.    


Loader.
Up arrow icon