Check documentation for the latest version of dhtmlxSuite load DHTMLX Docs


loads records from the server

promise load(string|object data, [function doOnLoad] );


datastring|objectXML/JSON source from which records will be loaded
doOnLoadfunction(optional) calls user-defined handler after data is loaded and rendered


promisea "promise" object


myVault.load("get_records.php", function(){
    // files are loaded
    // your code here
// returns a "promise" object, see details
    // text - a server side response


This API page is for Vault v2.5. Please go to to see API reference for the current version of dhtmlxVault.

With the help of this method you can show the previously uploaded files.

JSON format:

    // single file record
        name:       "price.xls", // file name, required
        serverName: "price.xls", // server name, optional, 'name' is used if omitted
        size:       257412       // file size, optional
    {}, // one more file
    {}  // one more file

XML format:

<?xml version="1.0" encoding="UTF-8"?>
    <file name="price.xls" serverName="price.xls" size="257412"/>
    <file ... />
    <file ... />

DHTMLX is integrated with Promiz.js library to treat the result of asynchronous operations (like data loading) without callbacks. Read more about integration of DHTMLX with Promix.js

Change log

added in version 2.3

Back to top