Aggregate/Concatenate child task values at parent level

Hi I’m trying to find out the best approach to either aggregate number values or concatenate options of child tasks up to each of their parents. So for instance if I have something like:

Child 1 | 100 | CPM
Child 2 | 250 | SPE
Child 3 | 150 | DOE

Then the parent would be:

Parent | 500 | CPM, SPE, DOE

And this would continue up the tree. Can you help point me in the right direction to achieve this?

Hello Skoofy,
You can use the eachTask method and specify the parent task ID as the second parameter. Then Gantt will iterate all child tasks that belong to the parent task:
https://docs.dhtmlx.com/gantt/api__gantt_eachtask.html
Here is an example of how it might be implemented:
http://snippet.dhtmlx.com/5/911c6044d