onEventLoading
fires when an event is being loaded from the data source
boolean onEventLoading(object ev);
ev | object | the event object (the object of a data item) |
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.
Back to top