<ScheduleComponent delayUpdate='true' height='650px' ref={schedule => this.scheduleObj = schedule}
timeScale={{
enable: true, interval: 60, slotCount: 6,
majorSlotTemplate: this.majorSlotTemplate.bind(this),
minorSlotTemplate: this.minorSlotTemplate.bind(this)
}}
selectedDate={new Date(2019, 0, 10)} eventSettings={{ dataSource: this.data }}
dragStart={(this.onDragStart.bind(this))}>
<ViewsDirective>
<ViewDirective option='Day' />
<ViewDirective option='Week' />
<ViewDirective option='WorkWeek' />
<ViewDirective option='Month' />
<ViewDirective option='Agenda' />
</ViewsDirective>
<Inject services={[Day, Week, WorkWeek, Month, Agenda, Resize, DragAndDrop]} />
</ScheduleComponent> |