Support Forum
If you change your vertical example (/https://www.bryntum.com/examples/scheduler/vertical/) to the code in the attached file you can see that flipping on/off between workingTime will break the timeaxis. The timeaxis no longer takes workingTime into account and it also has problems with rendering.
- Attachments
-
- verticalworkingtime.js
- Paste this into the vertical example
- (8.05 KiB) Downloaded 119 times
Last edited by bjork on Tue Feb 04, 2020 5:13 pm, edited 1 time in total.
In VerticalEventMapper.renderer() there seems to be an issue with bottomDate being null:
if (!DateHelper.isEqual(topDate, me.topDate) || !DateHelper.isEqual(bottomDate, me.bottomDate)) {
// Calculated values used by `renderResource()`
me.topDate = topDate;
me.bottomDate = bottomDate;
me.topDateMS = topDate.getTime();
me.bottomDateMS = bottomDate.getTime();
me.timeView.range = { startDate : topDate, endDate : bottomDate };
}
It's only supported in horizontal view for the moment but I've opened a ticket to investigate. https://github.com/bryntum/support/issues/261