Creating Scheduler

Scheduler can be created as a Webix view or as a standalone Jet app. Both ways will lead to the same result.

  • Create Scheduler as a Webix view:
webix.ready(function() {
    // use custom scrolls, optional
    webix.CustomScroll.init();
 
    webix.ui({
    view: "scheduler",
    date: new Date(2018, 4, 21, 0, 0, 0),
    url: "https://docs.webix.com/calendar-backend/"
  });
});

Related sample:  Scheduler: Webix View Initialization

  • Initialize Scheduler as an instance of Jet app class and render it in the document body (or in any other container):
webix.ready(function() {
  webix.CustomScroll.init();
 
  var app = new scheduler.App({
    date: new Date(2018, 4, 21, 0, 0, 0),
    url: "https://docs.webix.com/calendar-backend/",
  });
  app.render(document.body);
});

Related sample:  Scheduler: JetApp

Back to top