collapses gantt from the full screen mode to the normal mode
gantt.collapse();
This method 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.