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);
eventobjectthe event's object
viewstringthe name of a view used to display the event
booleandefines 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