Alright I got to solve this issue. The faded tasks I was getting were all parents. I looked carefully at the article here https://docs.dhtmlx.com/gantt/desktop__split_tasks.html and realized that Task #2.1 in the example has the same start_date and duration than its parent, so I did an additional Task in my code to copy its parent duration and start_date and cover the faded parent task.