Skip to main content

onCollapse

Description

Fires when gantt went back to normal mode from the full screen mode

onCollapse: () => void;

Example

gantt.attachEvent("onCollapse", function (){
// any custom logic here
});

Details

note

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.