获取甘特图的列
GridColumn[] | 包含列的数组 |
gantt.config.columns = [
{ name:"text", tree:true, width:150},
{ name:"start_date", align: "center", width:150},
{ name:"duration", align: "center", width:70},
{ name:"add", width:44, resize:true, hide:true}
];
gantt.getGridColumns(); //-> [{ name:"text", tree:true, width:150}, {...}, {...}]