Vue FileManager - Ajax.Configuration

This section describes options that configure the Ajax file provider.

dateModifiedExpr

Specifies which data field provides timestamps that indicate when a file was last modified.

Type:

String

|

Function

isDirectoryExpr

Specifies which data field provides information about whether a file system item is a directory.

Type:

String

|

Function

itemsExpr

Specifies which data field provides information about nested files and directories.

Type:

String

|

Function

nameExpr

Specifies which data field provides file and directory names.

Type:

String

|

Function

sizeExpr

Specifies which data field provides file sizes.

Type:

String

|

Function

thumbnailExpr

Specifies which data field provides icons to be used as thumbnails.

Type:

String

|

Function

The data field can contain one of the following:

url

Specifies the URL used to load an array of JSON objects that represent files and directories.

Type:

String

The objects should have fields with the following names:

{
    name: "MyFile.jpg",
    size: 1024,
    dateModified: "2019/05/08",
    thumbnail: "/thumbnails/images/jpeg.ico",
    isDirectory: true,
    items: [
        // ...
        // Nested data objects with the same structure
        // ...
    ]
}

These are conventional names that you can change via [fieldName]Expr options: nameExpr, sizeExpr, dateModifiedExpr, and so on.