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 :slight_smile:

Be sure that you call the command after data loading ( loading is async. )

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