Our pure JavaScript Scheduler component


Post by nsarvesh14 »

Hi Team,
The events can be created from multiple platforms(mobile, web etc.,) in our product. However, we have to display all the events in the scheduler. So we are reloading it every 20 seconds to show the latest data for the user.
In Bryntum, do you have any feature to auto-reload the scheduler for any given interval of time?
If yes, Does it update only the modified and new events on the scheduler or it will reload the complete new data set received from the backend?


Post by mats »

Sorry, we don't have such auto-reload. To do this properly you should use websockets to stream local changes live into any other connected Gantt chart. But a cheap version would be

setInterval(gantt.project.load(), 20*1000)

Post by nsarvesh14 »

Ok np. Thanks for the info!


Post Reply