getGridColumn

gets the configuration object of a column

GridColumn getGridColumn(string | number name);
namestring | numberthe column's name
GridColumnthe 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