onBeforeEventDisplay
fires when the 'showEvent' method is called to show a specific event and fires BEFORE the event is displayed
boolean onBeforeEventDisplay(object event,string view);
event | object | the event's object |
view | string | the name of a view used to display the event |
boolean | defines whether the default action of the event will be triggered (true) or canceled (false) |
Example
scheduler.attachEvent("onBeforeEventDisplay", function(event,view){
//any custom logic here
return true;
});
See also
Back to top