Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sasank on Oct 21, 2009 23:54
open dhtmlx forum
scheduler.getEvents not returning any values

Hi, I am using dhtmlx scheduler. Here , if i use var evs = scheduler.getEvents(new Date(), new Date(9999,1,1));
i am not getting any events. So can u suggest a way so that i can get all the events in the schedule :)
Answer posted by Stanislav (support) on Oct 22, 2009 01:16
Be sure that you call the command after data loading ( loading is async. ) 

scheduler.load(url, function(){
      some code here
});