getGridColumn

gets the configuration object of a column

object getGridColumn(string name);

Parameters

namestringthe column's name

Returns

objectthe column's object

Available only in PRO Edition

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

Details

This functionality is available in the PRO edition only.

See also
Back to top