Creating Report Manager

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

  • Creating Report Manager as a Webix view:
webix.ready(function() { 
  // use custom scrolls, optional
  if (webix.env.touch) webix.ui.fullScreen();
    else if (webix.env.scrollSize) webix.CustomScroll.init();
 
  webix.ui({
    view: "reports",
    url: "https://docs.webix.com/reports-backend/",
  });    
});

Related sample:  Report Manager: View Initialization

  • Initializing Report Manager as an instance of Jet app class and render it in the document body (or in any other HTML container):
webix.ready(function() { 
  // use custom scrolls, optional
  if (webix.env.touch) webix.ui.fullScreen();
    else if (webix.env.scrollSize) webix.CustomScroll.init();
 
  const app = new reports.App({ 
    url: "https://docs.webix.com/reports-backend/"
  });
 
  app.render(document.body);
});

Related sample:  Report Manager: JetApp Initialization

Back to top