Hi Support,
can we add and show multiple baselines for a task.
Thanks,
Rasagb
Hi Support,
can we add and show multiple baselines for a task.
Thanks,
Rasagb
Hello Rasagb,
Gantt doesn’t have a built-in feature to add baselines. But you can implement it by using the Gantt API and Javascript.
To add a baseline date, you can add a property with the Date
value to the task
object.
Then you can use the addTaskLayer
method that allows displaying any HTML elements in the timeline:
https://docs.dhtmlx.com/gantt/api__gantt_addtasklayer.html
You don’t need to add several layers for each baseline. Instead, you can create a root element and attach the baselines to it.
Here is an example of how it can be implemented:
https://snippet.dhtmlx.com/5/b8448a6db
Hello Luis,
It seems that you want to display baselines in the mixed mode (for one task one the same row and for another task on different rows).
You need to implement a custom solution for that.
I don’t have ready examples of the implementation, and when the dev team adds a built-in way to display baselines, they won’t add that mixed mode.
If you want us to implement a custom solution for you, you can contact the Sales team:
info@dhtmlx.com