keep_grid_width

在调整列宽时保持原始 grid 宽度不变

boolean keep_grid_width;

Available only in PRO Edition

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

Related samples

Details

此功能仅包含在 PRO 版本中。

See also
  • Articles
  • Back to top