The loadingStart() method displays a loading label in the upper-left corner of the Scheduler after 100ms.
You can use this method to indicate that an HTTP call is in progress. Call loadingStop() when the HTTP response arrives to hide the label.
The loadingLabelVisible property must be set to true.
If blockOnCallBack property is set to true (the default value is false) the loadingStart() method will display an overlay <div> over the Scheduler to prevent access to the UI.
DayPilot.Scheduler.loadingStart(options);
The options parameter is available since 2020.2.4337.
dp.loadingStart({ delay: 100, text: "Please wait...", block: true}); $.get("/events", function(data) { dp.update({events: data}); }).always(function() { dp.loadingStop(); });