The bug is related to Hiding days in the X-Axis of the view feature. The positioning of bars doesn’t work when the first day of the view is hidden. Attached is a video clip to reproduce the problem. (The video was recorded in docs.dhtmlx.com/scheduler/sample … gnore.html)
2014-12-22_0243.swf.zip (797 KB)
I think the root cause is Line 3940 (as of version 4.2.0), because offsetHeight is always 0 for hidden elements.
h[i] = (h[i - 1] || 0) + cells[0].offsetHeight;
I managed to make it work for the case when weekends are hidden in month view. Attached is a video clip of how it looks like after my fix is applied.
2014-12-22_0300.swf.zip (726 KB)
As well as the source code of my incomplete fix.
dhtmlxscheduler.js.zip (49 KB)