fires after the Gantt layout is ready, but before it is rendered
gantt.attachEvent("onGanttLayoutReady",function(){ // any custom logic here });