Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by mahesh on Dec 08, 2009 16:26
open dhtmlx forum
dhtmlx scheduler & list print-out of all events

Is there a way at the end of the year to print out all events that occurred for the year in a simple list format similar to the aggenda view? Thanks,
Answer posted by Alex (support) on Dec 09, 2009 03:06

You can try to use the following approach to show events from the start of the current month:

scheduler.attachEvent("onViewChange", function (mode , date){

  if(mode!="agenda") return;
  var this_year = (new Date).getYear();
  this._min_date = new Date(this_year,1,1);
});