Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by mahesh on Oct 22, 2009 08:40
open dhtmlx forum
dhtmlx scheduler, custom 10 day view sample provided, misses Oct 31 when used for today and goes to next selection, ? bug

The day Oct 31 is missing when I click to go to the next 10 days using the custom view sample that is provided.
Answer posted by Alex (support) on Oct 23, 2009 07:15

You can modify add_decade method to show 10 or 11 days in the 3rd decade:

scheduler.date.add_decade=function(date,inc){ return scheduler.date.add(date,inc*((date.getDate()==21 && 

  this.add(date,10,"day").getMonth() == date.getMonth())?11:10),"day"); }
});

Answer posted by thanks, that solves the problem. on Oct 25, 2009 13:29