跳到主要内容

deadlines

Description

启用或禁用任务截止日期元素的显示

deadlines: boolean

Example

gantt.config.deadlines = true;
gantt.init("gantt_here");

Default value: true

Details

此配置用于启用或禁用任务截止日期元素的显示。若启用,Gantt 将检查 task.deadline 属性;若该属性包含有效日期,则在时间线中显示截止日期元素。

Change log

  • 在 v9.0 中新增
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.