The problem: You’ll see that loading the timeline week view, no appointments are shown, if you switch to other views you can verify 2 of the 3 appointments should be shown.
It happens when you set a timeRuler object with scaleStartHour / scaleEndHour and one of the appointments is out of the display hours range. The following appointments are skipped and not evaluated at all.
The solution: It’s quite simple actually, in _renderTimelineAppointments function, there’s a loop on the appointments. If an appointment is out of the range, no cells are chosen, and you have this code: if (cells.length == 0) break;
So the loop is exited and other appointments are not considered. It should be instead: if (cells.length == 0) continue;
Thank you by advance,
This topic was modified 4 months, 2 weeks ago by Kaddath.