onBeforeCollapse

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

boolean onBeforeCollapse(){ ... };

Returns

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;
});

See also
Back to top