How to expand chart on load

On load my GanttChart is in collapsed mode. I want it to be expand mode on load.

Hello,
By default the tree is not opened and you can use the following command to open the tree:

gantt.config.open_tree_initially = true;

snippet.dhtmlx.com/2d7f6423c
However, it doesn’t work when it is specified that the task should be closed:
prntscr.com/kgje0k
snippet.dhtmlx.com/b7b068357