search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Looking for an event that fires after rendering ALL events

Asked by Bert
9 years ago.

Hello,

Is there an event that is similar to "onAfterEventRender", but fires when it finished rendering all events, not just a single one? Or is there a way to use the existing "onAfterEventRender" and detect the last rendered event?

My current setup is this:

  • on init, I set dp.startDate to today and dp.days to 20
  • Previous button that sets dp.startDate to (dp.visibleStart - 15 days) and gets bookings from server
  • Next button that sets dp.startDate to (dp.visibleStart + 15 days) and gets bookings from server

I takes about 300ms to get the bookings from the server, but it takes 2-3 seconds for them to be drawn inside the scheduler and I need a loading indicator for those few seconds.

Thank you!

Comment posted by Dan Letecky [DayPilot]
9 years ago.

There is no such event at the moment. Please hold on, I'm checking the options.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.