adds specified child GanttTaskInfo to this task's children list
var parentTask1 = new GanttTaskInfo(1, "Old code review", new Date(2006, 5, 11), 208, 50, ""); parentTask1.addChildTask(new GanttTaskInfo(2, "Convert to J#", new Date(2006, 5, 11), 100, 40, "")); var childTask2 = new GanttTaskInfo(3, "Hosted Control", new Date(2006, 6, 7), 190, 80, "1"); parentTask1.addChildTask(childTask2 );