sets mode for the Timeline view

string timelineMode;


  • "day"
  • "week"
  • "month"
  • Example

      view: "scheduler",
      url: "https://docs.webix.com/calendar-backend/",
      timeline: true, // must be enabled
      timelineMode: "month" });

    Default value:


    Related samples


    This property requires timeline to be enabled. The timeline view displays only one timespan specified in the timelineMode property. It means that if the mode is "month", timeline will show events for a month, etc.

    As it is a reactive property you can acess and alter it via the component state:

    $$("scheduler1").getState().timelineMode = "month";
    See also
    Back to top