onCollapse

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

void onCollapse(){ ... };

Example

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

Related samples

Details

This event is defined in the fullscreen.js 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