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.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.