问题
So in my case, I have 3 cases: C1: contain dates from 29 to 31 C2: contain dates from 1 to 3 and then 5 to 6 but not 4th C3: contain single date 4th
Now, what I am trying to achieve here is to display C2 event from 1 to 3 and 5 to 6 but its displaying on 4th date as well. However, it shouldn't display on 4th because it's part of other case (c3)
Following is the image:
My data is coming from database and that's the reason I have to display my start: 2020/04/1 and end: 2020/04/6 because of this it's selecting 4th date as well. Which is the issue for me.
My code:
id: "2",
title: 'C - 2',
start: '2020-04-01T12:00:00',
description: 'case 2',
end: '2020-04-06T15:30:00',
className: "bg_green fa fa-edit",
//eventTextColor: "white",
}
So how I can skip the 4th date here or may be group of dates as not part of this event? Thanks
来源:https://stackoverflow.com/questions/60983393/how-to-avoid-event-overlapping-on-dates-using-fullcalendar