<ScheduleComponent height='650px' className={classes.calendar}
showHeaderBar = {true}
resourceHeaderTemplate= { this.resourceHeaderTemplate }
dateHeaderTemplate= { this.dateHeaderTemplate }
eventRendered={this.eventRendered}
actionComplete={this.actionComplete}
eventSettings={{ dataSource: events }}
group={{ byDate: true, allowGroupEdit: true, resources: ['Owners'] }} >
<ResourcesDirective>
<ResourceDirective field='resourceIds' title='Assignee' name='Owners' allowMultiple={true} dataSource={users} textField='name' idField='id' colorField='color'>
</ResourceDirective>
</ResourcesDirective>
_.flatten( this.visits.map(x=> { return [
{ IsBlock:true, StartTime: x.start, EndTime: x.end, resourceIds: x.techs.map(t=> t.user_id) },
{ Id: x.id, StartTime: x.start, EndTime: x.end, resourceIds: x.techs.map(t=> t.user_id), IsReadonly: false } ] }) )
Nevitha,
I have tried this (https://stackblitz.com/edit/react-prevent-ovelap-on-recurrence-event?file=index.js ) solution also but that is not working completely,
When I update event in same day with different time that time that is working,
But this solution is not working for other events.
Please let me know , How to prevent all types of events.
I want only one appointment on a datetime .
Please let me know, I am waiting for Response.
Thank you -
Rahul Jain
Hi Rahul,
Greetings from Syncfusion support.
We suggest you follow up on the below forum for your query.
Regards,
Ravikumar Venkatesan