onEventLoading
Description
Fires when an event is being loaded from the data source
onEventLoading: (ev: object) => boolean;
Parameters
ev- (required) object - the event object (the object of a data item)
Returns
result- (boolean) - defines whether the default action of the event will be triggered (true) or canceled (false)
Example
scheduler.attachEvent("onEventLoading", function(ev){
//any custom logic here
return true;
});
Details
- The event is blockable. Return false and the data item won't be loaded into the scheduler.
- The event is called for each data item in the data source.
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.