Hi
i want to customize dependency line hover tool tip Data .
Only want to show the name not the ID of task
Support Forum
Hi, rahulranjan!
You could use this tooltip config for Dependencies feature:
https://www.bryntum.com/docs/scheduler/#Scheduler/feature/Dependencies#config-tooltip
You could use this tooltip config for Dependencies feature:
https://www.bryntum.com/docs/scheduler/#Scheduler/feature/Dependencies#config-tooltip
const gantt = new Gantt({
features : {
dependencies : {
tooltip : {
getHtml : ({ forElement }) => {
const dependency = gantt.dependencyStore.getById(forElement.getAttribute('depId'));
return `${dependency.sourceTask.name} -> ${dependency.targetTask.name}`;
}
}
}
},
...