onBeforeExpand

fires when a user clicks on the expand icon to change the scheduler's size from original to 'full screen'.

boolean onBeforeExpand();
booleandefines whether the default action of the event will be triggered (true) or canceled (false)

Example

scheduler.attachEvent("onBeforeExpand",function(){
    //any custom logic here
    return true;
});

Details

The event requires the expand plugin to be enabled.

See also
Back to top