# onBeforeGanttReady

### Description

@short: Fires before the dhtmlxGantt initialization is started

@signature: onBeforeGanttReady: () =\> void;

### Example

~~~jsx
gantt.attachEvent("onBeforeGanttReady", function(){
    //any custom logic here
});
~~~

### Related API
- [onGanttReady](api/event/onganttready.md)

