Use Duration as Time Spent

Hello,

I would like to use the notion of duration as the sum of the times of the resources allocated to a task.

Example:
For a 2-day task with two resources.
The duration is 2 days.
The time spent is 4 days.

I would like to show the time spent in the gantt duration column.

I did not find element in the product document allowing us to achieve this customization.

Would it be possible to do it?

Hello Guillaume,
You can use the template to display custom data:
https://docs.dhtmlx.com/gantt/desktop__specifying_columns.html#datamappingandtemplates
Here is an example of how it might be implemented:

http://snippet.dhtmlx.com/b391111e0