fires after the dhtmlxGantt initialization is complete but the Gantt chart is not rendered on the page yet
gantt.attachEvent("onGanttReady", function(){ //any custom logic here });