1

屏幕

当我切换到查看“一天的议程”时,我想要这个外观。我需要在此视图的配置中配置什么。

升级版:3.9 版

UPD2:

那里的沙箱

此配置文件(短版):

const config = {
  header: false,
  schedulerLicenseKey: "GPL-My-Project-Is-Open-Source",
  defaultView: "agendaOneDay",
  slotDuration: "00:15:00",
  columnFormat: "ddd, DD MMM",
  editable: false,
  selectable: true,
  groupByResource: true,
  views: {
    agendaOneDay: {
      type: "agenda",
      duration: { days: 1 },
      buttonText: "1"
    },
    agendaThreeDay: {
      type: "agenda",
      duration: { days: 3 },
      buttonText: "3"
    }
  },
  resources: [
    { id: 5128, title: "Test title 1", eventColor: "#5eb15e" }
  ],
  events: [
    {
      start: "2018-09-24T09:00:00.000Z",
      end: "2018-09-24T09:30:00.000Z",
      resourceId: 5128,
      title: "test 1",
      event: {},
      color: "",
      textColor: "#191919"
    },
    {
      start: "2018-09-26T09:00:00.000Z",
      end: "2018-09-26T09:30:00.000Z",
      resourceId: 5128,
      title: "test 1",
      event: {},
      color: "",
      textColor: "#191919"
    }
  ]
};
4

0 回答 0