Skip to main content

keep_grid_width

info

This functionality is available in the PRO edition only.

Description

'says' to preserve the initial grid's width while resizing columns within

keep_grid_width: boolean

Example

gantt.config.columns = [
{ name:"text", tree:true, width:"*", resize:true },
{ name:"start_date", align: "center"},
{ name:"duration", align: "center", width:70 },
{ name:"add", width:44 }
];

gantt.config.keep_grid_width = true; /*!*/
gantt.init("gantt_here");

Default value: false