跳到主要内容

keep_grid_width

信息

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

Description

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

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

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.