getGridColumn

gets the configuration object of a column

object getGridColumn(string |number name);
namestring |numberthe column's name
objectthe column's object

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.getGridColumn("text");//->{ name:"text", tree:true, width:150}

Related samples

See also
Back to top