onBeforeCollapse

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

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

Example

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

Details

The event requires the expand extension to be enabled.

See also
Back to top