扩展功能完整列表

dhtmlxGantt 提供了多种扩展功能,用于增强基础功能。

要启用某个扩展,只需通过 gantt.plugins 方法激活相应插件。

高级拖放

此扩展允许通过拖放来创建和选择任务。

gantt.plugins({
    click_drag: true
});

相关资源

文章: 创建/选择任务与拖拽(DnD)
API: click_drag

Related sample:  Create new tasks by Drag and Drop

自动排程

此扩展仅在 PRO 版本中可用

该功能会根据任务之间的依赖关系自动进行任务排程。

gantt.plugins({
    auto_scheduling: true
});

相关资源

文章: 自动调度
API: auto_scheduling

Related sample:  Auto Scheduling extension

关键路径

此扩展仅在 PRO 版本中可用

显示必须按时完成以避免项目整体延期的任务序列,同时展示项目的最短工期。

gantt.plugins({
    critical_path: true
});

相关资源

文章: 关键路径
API: highlight_critical_path

Related sample:  Critical path

拖动时间轴

允许通过鼠标拖动来滚动时间轴视图。

gantt.plugins({
    drag_timeline: true
});

相关资源

API: drag_timeline

Related sample:  Drag timeline

额外覆盖层

此扩展仅在 PRO 版本中可用。

允许在甘特图上添加额外的图层以放置自定义内容。

gantt.plugins({
    overlay: true
});

相关资源

文章: 时间线区域中的自定义元素

Related sample:  Gantt chart with overlay and zoom (S-Curve)

导出服务

启用在线导出服务。

gantt.plugins({
    export_api: true
});

相关资源

文章: 导出和导入数据

全屏显示

以全屏模式显示甘特图。

gantt.plugins({
    fullscreen: true
});

相关资源

文章: 全屏模式

Related sample:  Full Screen

任务分组

此扩展仅在 PRO 版本中可用

支持按任意任务属性对任务进行分组。

gantt.plugins({
    grouping: true
});

相关资源

文章: 任务分组
API: groupBy

Related sample:  Tasks grouping

键盘导航

支持在甘特图中通过键盘进行导航。

gantt.plugins({
    keyboard_navigation: true
});

相关资源

文章: 无障碍访问, 键盘导航
API: keyboard_navigation,keyboard_navigation_cells

多任务选择

支持在甘特图中同时选择多个任务。

gantt.plugins({
    multiselect: true
});

相关资源

文章: 多任务选择
API: multiselect

Related sample:  Multiselection and Indent/Outdent tasks

快速信息

弹出显示任务详情。

gantt.plugins({
    quick_info: true
});

相关资源

文章: 'Quick Info' 扩展的模板(触控支持),
快速信息(触控支持)

Related sample:  QuickInfo extension

工具提示

为用户提供补充信息,而不会干扰界面显示。

gantt.plugins({
    tooltip: true
});

相关资源

文章: Gantt 元素的工具提示

Related sample:  Tooltip

撤销

为所做更改提供撤销和重做功能。

gantt.plugins({
    undo: true
});

相关资源

文章: 撤销/重做功能
API: undo, redo

Related sample:  Undo/Redo changes in Gantt

垂直标记

高亮显示特定日期或日期范围。

gantt.plugins({
    marker: true
});

相关资源

文章: 添加垂直标记
API: addMarker,show_markers

Related sample:  Today and Status lines in Gantt (vertical markers)

Back to top