Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tom on Jul 08, 2009 11:04
open dhtmlx forum
dhtmlXScheduler.templates.event_class

The value for [event] passed when overloading dhtmlXScheduler.templates.event_class = function(start, end, event) {} in month view does not populate properly for multi-day events which span several weeks. For example, if you view an appointment running from July 1st through 31st in month view. The function is called for each rendering of the appointment per week - but only in the last rendering of the appointment does the [event] object properly get populated with name and extra values. I'm using an extra value in the [event] object to track what css style to use, but currently only the last drawn part of the appointment is getting the appropriate style in month view.
Answer posted by Support on Jul 09, 2009 03:02
Problem was confirmed and fixed. 
Fix will be included in next version of scheduler. 
If you need it ASAP - you can use attached js file instead of original one. 
Attachments (1)
codebase.zip47.55 Kb