Gantt task bars are not loading in timeline when none of the tasks have start/end date

I need to load some tasks in Dhtmlx Gantt. None of those tasks have start_date and end_date field. In this scenario those tasks bars are not loading in Gantt as like unscheduled task. I have “unscheduled” key for all tasks and set the config of “show_unscheduled”: false.

Here is the snippet for my scenario : https://snippet.dhtmlx.com/orz4qgtm

Please help me to render those unscheduled task bars

Hello,
Gantt expects that a task has the date parameters. If a task doesn’t have them, it should be unscheduled. To display tasks in the timeline, Gantt needs the dates that will be converted to a timeline position. Technically, if a task doesn’t have the dates, there is no way to display it in the timeline.
However, if you load a task without dates, Gantt adds the dates from child tasks, other tasks or the current date. And the task obtains the $no_start and $no_end parameters to indicate that the task will behave similar to project tasks. It will also depend on the child dates, but you won’t be able move it. You can check how it works in the following snippet:
https://snippet.dhtmlx.com/wpxeeiap

When no regular task has the date parameters, Gantt throws an error as it expects that at least one task has the correct dates. If you disable the show_unscheduled parameter, it starts working as if the task doesn’t have the unscheduled parameter on the task load. In that case, Gantt tries to show that task in the timeline, and it needs the date parameters for that.
But you can change the show_unscheduled parameter after loading tasks, then all tasks will start at the beginning of the timeline:
https://snippet.dhtmlx.com/hd3czfjs