onBeforeExpand

fires before gantt is expanded to full screen

boolean onBeforeExpand(){ ... };

Returns

booleandefines whether the default action of the event will be triggered (true) or canceled (false)

Example

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

Related samples

Details

The event is blockable. Returning false will cancel further processing.

This event is defined in the ext/dhtmlxgantt_fullscreen.js extension, so you need to include it on the page. Read the details in the Full Screen Mode article.

See also
Back to top