Check documentation for the latest version of dhtmlxSuite getData DHTMLX Docs

getData

returns a list of already uploaded files

object getData();

Returns

objectan array of successfully uploaded files

Example

var data = myVault.getData();
 
// data is an array of files
[file, file, ...]
 
// file is an object with details
{
    id:         123,             // int, internal file ID
    name:       "filename.ext",  // string, filename detected by browser
    serverName: "filename2.ext", // string, filename returned by server
    size:       132500,          // int, file size in bytes
    uploaded:   true,            // boolean, true/false
    error:      false            // boolean, error while uploading, if any
}

Details

This API page is for Vault v2.5. Please go to docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.

Change log

added in version 2.0

Back to top