FileManagerSettingsModel

10 Oct 20251 minute to read

Interface for a class FileManagerSettings

Properties

beforeSend EmitType<BeforeSendEventArgs>

Event triggered before sending an AJAX request to the server.
Set the cancel argument to true to prevent the request.

ajaxSettings AjaxSettingsModel

Specifies the AJAX settings for the file manager.

allowDragAndDrop boolean

Enables or disables drag-and-drop functionality for files.

contextMenuSettings ContextMenuSettingsModel

Specifies the context menu settings for the file manager.

cssClass string

Specifies the root CSS class of the file manager, allowing customization by overriding styles.

detailsViewSettings DetailsViewSettingsModel

Specifies the details view settings for the file manager.

enable boolean

Specifies whether to enable the file manager in the RichTextEditor.

Specifies the navigation pane settings for the file manager.

path string

Specifies the current path in the file manager.

rootAliasName string

Specifies the alias name for the root folder in the file manager.

searchSettings SearchSettingsModel

Specifies the search settings for the file manager.

showFileExtension boolean

Determines whether to show or hide file extensions in the file manager.

showHiddenItems boolean

Determines whether to show or hide files and folders marked as hidden.

showThumbnail boolean

Determines whether to show or hide thumbnail images in the large icons view.

sortOrder SortOrder

Specifies the sort order for folders and files. Options are:

  • None: Folders and files are not sorted.
  • Ascending: Folders and files are sorted in ascending order.
  • Descending: Folders and files are sorted in descending order.

toolbarSettings FileToolbarSettingsModel

Specifies groups of items aligned horizontally in the toolbar.

uploadSettings UploadSettingsModel

Specifies the upload settings for the file manager.

view ViewType

Specifies the initial view of the file manager.
This property allows setting the initial view to either ‘Details’ or ‘LargeIcons’. The available views are:

  • LargeIcons
  • Details