Last Updated:
16 Jan 2024 16:56
by Martin Ivanov
ScheduleView: Add a setting that tells if the appointment should continue rendering in the next day in DayViewDefinition
Currently, if you add an appointment that is partially in two days (lets say, start=16 Jan 2024 23:00:00; end=17 Jan 2024 13:00:00), two AppointmentItem containers are created so that the appointment continues drawing on the next day. This is the expected behavior and it brings clear visualization of the corresponding event.
In some scenarios, the user may not want to see the second AppointmentItem. For example, if the day is defined to be more than 24 hours (via the DayStart/EndTime of the DayViewDefinition). In that case, the day group may be enough to show the full appointment, so the user may not want to see the second AppointmentItem in the next day.
Add a mechanism that allows you cancel the creation of the second AppointmentItem. This could be a property that tells if the continued AppointmentItem should be created, or a method override, or a filter (like the OccurrenceFilter or AppointmentFilter).