getGridColumns

gets columns of the Gantt chart

GridColumn[] getGridColumns();
GridColumn[]an array of columns

Example

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}, {...}, {...}]

Related samples

See also
Back to top