Search results

FileManagerModel

Interface for a class FileManager

Properties

beforeFileLoad

EmitType<FileBeforeLoadEventArgs>

Triggers before the file/folder is rendered.

beforeFileOpen

EmitType<FileOpenEventArgs>

Triggers before the file/folder is opened.

beforeSend

EmitType<FileBeforeSendEventArgs>

Triggers before the AJAX request send to the server.

created

EmitType<Object>

Triggers when the file manager component is created.

destroyed

EmitType<Object>

Triggers when the file manager component is destroyed.

fileSelect

EmitType<FileSelectEventArgs>

Triggers when the file/folder is selected/unselected.

Triggers when the context menu item is clicked.

Triggers before the context menu is opened.

onError

EmitType<FileOnErrorEventArgs>

Triggers when the AJAX request is failed.

onSuccess

EmitType<FileOnSuccessEventArgs>

Triggers when the AJAX request is success.

toolbarClick

EmitType<FileToolbarClickEventArgs>

Triggers when the toolbar item is clicked.

ajaxSettings

AjaxSettingsModel

Specifies the AJAX settings of the file manager.

allowMultiSelection

boolean

Enables or disables the multiple files selection of the file manager.

contextMenuSettings

ContextMenuSettingsModel

Specifies the context menu settings of the file manager.

cssClass

string

Specifies the root CSS class of the file manager that allows to customize the appearance by overriding the styles.

detailsViewSettings

DetailsViewSettingsModel

Specifies the details view settings of the file manager.

enablePersistence

boolean

Enables or disables persisting component’s state between page reloads. If enabled, following APIs will persist.

  1. view - Represents the previous view of the file manager.
  2. path - Represents the previous path of the file manager.
  3. selectedItems - Represents the previous selected items in the file manager.

enableRtl

boolean

Enable or disable rendering component in right to left direction.

height

string | number

Specifies the height of the file manager.

locale

string

Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.

Specifies the navigationpane settings of the file manager.

path

string

Specifies the current path of the file manager.

searchSettings

SearchSettingsModel

Specifies the search settings of the file manager.

selectedItems

string[]

Specifies the selected folders and files name of the file manager

showFileExtension

boolean

Show or hide the file extension in file manager.

showHiddenItems

boolean

Show or hide the files and folders that are marked as hidden.

showThumbnail

boolean

Shows or hides the thumbnail images in largeicons view.

toolbarSettings

ToolbarSettingsModel

Specifies the group of items aligned horizontally in the toolbar.

uploadSettings

UploadSettingsModel

Specifies the upload settings for the file manager.

view

string

Specifies the initial view of the file manager. With the help of this property, initial view can be changed to details or largeicons view.

width

string | number

Specifies the width of the file manager.