Creating User Manager

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

  • Create User 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: "usermanager",
        url: "https://docs.webix.com/usermanager-backend/"
    });
});

Related sample:  User Manager: Webix View Initialization

  • Initialize User 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 userManager.App({
        url: "https://docs.webix.com/usermanager-backend/",
    });
    app.render(document.body);
});

Related sample:  User Manager: JetApp Initialization

Back to top