Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by rencin on Jan 07, 2010 00:15
open dhtmlx forum
Refresh the calendar

Hi,

In dhtmlxscheduler, how to refresh the calendar so that all new events added by different users will become visible to all users?
How to refresh the calendar in every seconds?

regards
rencin.
Answer posted by Stanislav (support) on Jan 07, 2010 10:54
You can repeat load command with some interval, the component is clever enough to not duplicate already existing events and only will add new ones. 

window.setInterval(function(){
          scheduler.load(some_url);
},3000);