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

How to show custom loading indicator during rendering

Asked by Anonymous
2 years ago.

Hi,
After rendering is finished, I can use onAfterRender to hide the custom loading indicator. But which event can I use to show the loading indicator before the rendering starts?

Answer posted by Dan Letecky [DayPilot]
2 years ago.

Usually, you'll want to display the loading indicator when you initiate an HTTP call that loads the data. This way it will cover the whole waiting time.

Comment posted by Anonymous
2 years ago.

I'm already doing this. But I want to show the loading indicator for the time between assigning the resources and events to the scheduler and for it to rendering them

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

You can do that at the moment when you assign the data. There is no special event for that as this is always a manual action.

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