timelineMode

sets mode for the Timeline view

string timelineMode;

Values

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

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


    Default value:

    "week"

    Related samples

    Details

    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