Discuss anything related to web development but no technical support questions


Post by xjpmauricio »

Hi, is there a way to access somekind of event after the Scheduler finishes displaying all events? I mean wen he visually finishes displaying all events!?

Something like:
ctPanel.on('afterrender', function () {
Any ideias?

Post by mats »

Hmm, not sure if it's possible. What I would suggest is to listen to the view 'refresh' event.
scheduler.view.on('refresh', function () { // view refreshed });
You can also check if the store has loaded by doing:
scheduler.eventStore.on('load', function () { // now all the events are in the store });

Post by xjpmauricio »

mats wrote:Hmm, not sure if it's possible. What I would suggest is to listen to the view 'refresh' event.
scheduler.view.on('refresh', function () { // view refreshed });
You can also check if the store has loaded by doing:
scheduler.eventStore.on('load', function () { // now all the events are in the store });
...i was using the 'load' event of the store but the 'refresh' works perfectly!!! Thanks!!!

Post Reply