Split Task Overlay

Hi all,

I’ve been working off this snippet

https://snippet.dhtmlx.com/5/4f53b734b

Which is great, but you’ll notice that Task 2 (for example) is greyed out behind the Stages, what is controlling this greying out because I can’t seem to find it using F12. Anyone know?

Thanks

Ben

Hello Ben,
By default, Gantt renders the parent task bar even when it is rendered in the split mode. But it changes the task bar opacity. If you want to hide it, you can add this style rule:

.gantt_task_line.gantt_split_parent {
    display: none;
}

https://docs.dhtmlx.com/gantt/desktop__split_tasks.html#styling

You cannot find this task bar element because it has the following style rule:

.gantt_task_line.gantt_split_parent {
    pointer-events: none;
}
1 Like

Thanks Ramil, I will test this out, much appreciated

1 Like