Skip to content

File managers ​

Both components wrap dxFileManager. Native keys are lowercase and live on FileManager. The custom button names are Download and Refresh. DevExtreme’s own actions with the same job are lowercase download and refresh.

file_manager ​

A file area on its own. It does not follow one business row.

The only platform keys are Component.Width and Component.Height. Everything else goes on FileManager, for example rootFolderName, itemView, and permissions.

javascript
{
  Type: "file_manager",
  Id: "files",
  Option: {
    Component: { Width: "100%", Height: "100%" },
    FileManager: {
      rootFolderName: "Files"
    }
  }
}

sub_file_manager ​

A select on top. After a business row is chosen, the area below shows the files in that row’s directory.

BlockWhat it is
MainSelectNative config for dxLookup
FileManagerNative dxFileManager config
ComponentPlatform keys

Component:

KeyMeaning
BaseFolderTop directory on the server
DefaultFoldersSubdirectory names created after a row is selected
DefaultFoldersSqlWhen this SQL is set, subdirectories come from the query. Each row uses its first field
AuthSqlWhat the current user may do in this directory
Init.MainSelectInitial value of the select. It may be "js:"
Width / HeightComponent size

When the selected value changes, the file area’s root becomes the subdirectory for that row under BaseFolder.

This describes the platform. One customer’s business tables are not in these docs.