Split tasks not received in addTaskLayer

Hi,
I am trying to trigger something for every task rendered using the addTaskLayer:
gantt.addTaskLayer({
renderer: {
render: function draw_planned(task) {
console.log(task);
}
}
});

Here is the task data that is loaded using gantt.load(url):
“tasks”: [
{
“id”: “parent-1”,
“parent”: 0,
“text”: “Parent task”,
“start_date”: “2021-09-13 09:30:00”,
“end_date”: “2021-09-13 16:30:00”,
“type”: “project”,
“render”: “split”,
“progress”: 0,
“open”: true,
},
{
“id”: “child-1”,
“parent”: “parent-1”,
“text”: “Child task”,
“start_date”: “2021-09-13 09:30:00”,
“end_date”: “2021-09-13 10:30:00”,
“open”: true,
“progress”: 0,
“color”: “black”
}

The issue is that child tasks that have a parent as “render”:“split”, are not received in gantt.addTaskLayer.
In the example above, the task with “child-1” for example will not reach console.log(task);

Thank you kindly

Hello Riaan,
We are aware of that issue. The dev team will fix it in the future, but I cannot give you any ETA.
As a workaround, you can obtain the deadline dates from child tasks and display them on the parent’s element:
https://snippet.dhtmlx.com/faeb5f646
https://snippet.dhtmlx.com/5/35f40a78c