Hello team,
Is there any way to detect click on space between subtasks in split task, and ONLY that?
Also - is there any way to delete that gray part?
(marked here in red).
Thank you kindly,
Bartosz
Hello team,
Is there any way to detect click on space between subtasks in split task, and ONLY that?
Also - is there any way to delete that gray part?
(marked here in red).
Thank you kindly,
Bartosz
Hello Bartosz,
The gray area is the parent task. You can hide it with the following style rule:
.gantt_split_parent{
opacity: 0;
}
Here is an example:
https://snippet.dhtmlx.com/5/a237d3f8a
There is no special event when you click on the split parent. There is only the onTaskClick
event handler:
https://docs.dhtmlx.com/gantt/api__gantt_ontaskclick_event.html
By default, split parents have the pointer-events: none
style rule, so that event is not fired. You can modify that style rule, but if the `drag_project parameter is turned on, you can accidentally move all tasks on that row:
https://docs.dhtmlx.com/gantt/api__gantt_drag_project_config.html
Here is the snippet:
http://snippet.dhtmlx.com/5/0c062e67e