Skip to main content

onExpand

Description

Fires when gantt is expanded to full screen

onExpand: () => void;

Example

gantt.attachEvent("onExpand", 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.