before gantt exits the fullscreen mode and goes back to normal mode

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


    // any custom logic here    
    return true;

Related samples


The event is blockable. Returning false will cancel further processing.

This event is defined in the fullscreen extension, so you need to activate the fullscreen plugin using the gantt.plugins method. Read the details in the Full Screen Mode article.

See also
Back to top