views.selected Boolean (default: false)

If set to true the view will be initially selected by the scheduler widget.

If more than one view is selected then last of them will prevail.

Example - select a view

<div id="scheduler"></div>
  date: new Date("2013/6/6"),
  views: [
    { type: "day" },
    { type: "month", selected: true }
  dataSource: [
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
In this article