Folder Selection, JavaScript Programming Example of Folder Selection in File Manager

JavaScript Programming Example of Folder Selection in File Manager

Check out the coding example below for selecting folders in File Manager. Don't miss out on the chance to use free programming samples by Webix. They significantly facilitate and accelerate the process of web development.

JS Code

/*
The sample uses an outdated File Manager that is no longer supported. 
To learn about the new tool, visit https://docs.webix.com/desktop__filemanager.html
*/


webix.ui({
  view:"filemanager",
  id:"files",
  on:{
    onFolderSelect: function(id){
      webix.message("Active folder is '" +this.getItem(id).value+"'");
    }
  }
});

$$("files").load("https://docs.webix.com/filemanager/samples/server/");