onGanttRender event is never called

Hello,

I’m using dhtmlxGantt v.3.2.1 Professional
I’ve defined a Gantt Chart and I need to resize its window after it’s displayed, so I’ve added a onGanttRender event to put my function in.
Unfortunately, this event is never called, neither onGanttReady and onDataRender are called.
I use other events wich are called, onTaskClick for example.

Are there conditions for these events to be called ? My Gantt is quite simple, displayed with gantt.init()

Thank you in advance.

HI!

as I can see ‘onGanttRender’ event should be rised each time when ‘gantt.render()’ method been invoked according to this code github.com/DHTMLX/gantt/blob/v3 … t.js#L8245

Thank you for your answer, the issue is solved.