Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Gonzalo on Jul 15, 2009 12:58
open dhtmlx forum
Scheduler refresh

Hi:

I have been trying to refresh the scheduler contents using the following function without success:

this.RefreshScheduler = function() {
scheduler.clearAll();
scheduler.load(url);
}

I saw this is because the scheduler is not supposed to retrive events from months that have already been loaded. I know this is the expected behavior but, how could I fix this in a safe way?

Thanks in advance,
Gonzalo.
Answer posted by Support on Jul 16, 2009 01:31
For now you can use

scheduler.clearAll(); 
scheduler._loaded = {}; //clear cache markers
scheduler.load(url);

We will change behavior of next version, so clearAll command will clear cache markers automatically.