Creating File Manager

You can create File Manager as a Webix view or as a standalone Jet app. Both ways will lead to the same result.

  • Create File Manager as a Webix view:
webix.ready(function() {
    // use custom scrolls, optional
    if (!webix.env.touch && webix.env.scrollSize)
        webix.CustomScroll.init();
 
    webix.ui({
        view: "filemanager",
        url: "//demo-wfs-ls.webix.dev/"
    });
});

Related sample:  File Manager: Webix View Initialization

  • Initialize File Manager as an instance of Jet app class and render it in the document body (or in any other container):
webix.ready(function() {
    // use custom scrolls, optional
    if (!webix.env.touch && webix.env.scrollSize)
        webix.CustomScroll.init();
 
    var app = new fileManager.App({
        url: "//demo-wfs-ls.webix.dev/",
    });
    app.render(document.body);
});

Related sample:  File Manager: JetApp Initialization

Back to top