定义显示在 baseline 元素内部的文本内容
task | Task | 与 baseline 关联的任务对象 |
baseline | Baseline | baseline 对象本身 |
index | number | baseline 在任务的 baselines 数组中的位置索引 |
Available only in PRO Edition
gantt.templates.baseline_text = function(task, baseline, index) {
return "Baseline #" + (index + 1);
};
在 v9.0 中添加
Back to top