toolbar.items.desktop Array

Will specify all tools rendered in the Scheduler ToolBar with its non-adaptive rendering. If not explicitly set here, the component will render its built-in tools in the following order: [ "pdf", [ "today", "previous", "next" ], "current", { type: "spacer" }, "search", "views" ]. Note that if more than one view is defined, the last default tool is views, otherwise views is substituted by the refresh tool. Tools grouped in an array would produce a ButtonGroup in the ToolBar. Note that the pdf and search tools should be explicitly enabled in order to be visible.

By using the items.desktop field, you can specify any kind and number of custom tools that will be rendered in the ToolBar. You should define the custom tools via the ToolBar items API.


<div id="scheduler"></div>
  toolbar: {
    items: {
      desktop: [
        ["previous", "next"],
          name: "custom",
          type: "button",
          text: "Custom Button"
        { type: "spacer" },
  date: new Date("2013/6/6"),
  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