Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150665 | Jan 15,2020 12:11 PM UTC | Feb 6,2020 09:08 AM UTC | React - EJ 2 | 7 |
![]() |
Tags: Schedule |
<ScheduleComponent delayUpdate='true' height='650px' ref={schedule => this.scheduleObj = schedule} selectedDate={new Date(2019, 0, 10)} eventSettings={{ dataSource: this.data }} timeScale={{
enable: true, majorSlotTemplate: this.majorSlotTemplate.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> |
shouldComponentUpdate() {
return false; // Will cause component to never re-render.
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.