sets the id of the virtual root element
gantt.config.root_id = "root";
var tasks = {
data:[
{id:1, text:"Project #2", start_date:"01-04-2013", duration:18, parent:"root"}, {id:2, text:"Task #1", start_date:"02-04-2013", duration:8, parent:1},
{id:3, text:"Task #2", start_date:"11-04-2013", duration:8, parent:1}
],
links:[]
};
gantt.init("gantt_here");
gantt.parse(tasks);
root_id refers to the virtual root node of the task tree. If the value of the parent property of a task is set to the value of the root_id config, such task will be displayed at the top level of the gantt tree.