Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tom on Oct 10, 2009 19:15
open dhtmlx forum
dhtmlxScheduler - multi-day rendering

There is a flaw in the multi-day logic in day and week view where the "display:none, display:small clock, display:big clock" become out of sync with the number of events in the scheduler.

To reproduce:
1) Go to week view, with no calendar events.
2) Add 4 overlapping multi-day events. The small clock appears.
3) Move to another view and come back. The large clock appears.
4) Remove all scheduler events. The small clock appears.
5) Move to another view and come back. The multi-day region is collapsed and no clock image appears.

Additionally, the multi-day section divs of the scheduler only collapse to 0 height, they do not use visibility:hidden or display:none. This would solve the secondary problem where inherited borders can cause a visual inconsistency.

Thanks,
-Tom
Answer posted by Stanislav (support) on Oct 12, 2009 06:07
Please try to use the attached js file instead of the original one , it must resolve all above mentioned issues. 
Attachments (1)
Answer posted by Tom on Oct 12, 2009 09:41
That fixed it.  Thanks!
Answer posted by Tom on Oct 12, 2009 09:57
In the source files provided, there seems to be a flaw in the position offset logic which causes the calendar to incorrectly handle click position for certain date ranges.  For example, set the calendar to '1/1/1984' + week view and the double click / drag functionality is about an inch off.  It particularly seems to affect January and February.
Answer posted by Stanislava (support) on Oct 12, 2009 10:31
Regression is confirmed and fixed. Updated js file is attached. 
Attachments (1)