onExpand

fires when gantt is expanded to full screen

void onExpand(){ ... };

Example

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