Editing GroupBy

Hi,
Im working on a project using gantt and i need to group by owner and I need a column that will show me the Project linked to the Task, so if I have that:

TASK NAME | OWNER
-Project 1 |
-Task 1 | David
-Project 2 |
-Task 2 | Ana

When I click to GroupBy Owner I need to show that:

TASK NAME | PROJECT
-David |
-Task 1 | Project 1
-Ana |
-Task 2 | Project 2

I need a column that automatic will link the Task Projects name in the proper cell, wanna know if this is possible.
Thanks.

Hello,
You can group tasks by using grouping extension:
https://docs.dhtmlx.com/gantt/desktop__grouping.html
And see how it looks like in the following examples:
https://docs.dhtmlx.com/gantt/samples/02_extensions/08_tasks_grouping.html
https://docs.dhtmlx.com/gantt/samples/02_extensions/10_tasks_grouping_multilevel.html
It is not possible to have a tree structure in the timeline. But you can show task’s parent in the grid:
http://snippet.dhtmlx.com/e913bb1d5

Thanks a lot, It worked.
Just another question: is it possible to hide the main Task and only show the task’s parent when I click on ‘Group by Owner’?

Besides:

-Anna ------------- Parent
Task #1
Task#1.2 -------- Task #1

I only want to show:

-Anna ---------------- Parent
Task#1.2 ---------- Task #1

Thanks again!

Hello,
Yes, it is possible to filter tasks using onBeforeTaskDisplay function:
https://docs.dhtmlx.com/gantt/api__gantt_onbeforetaskdisplay_event.html
In the following example we hide all tasks that are not virtual (created in the group extension), that don’t have parents and do it on when grouping enabled:
http://snippet.dhtmlx.com/dbeb559c2