In this sample: https://snippet.dhtmlx.com/62c3339ad
if I change gantt.config.open_tree_initially = true; to false it dont close the folder on init.
Do you have any idea how to solve that?
If you set the value of this config to false, it means that all branches will not be opened initially. But it is not equal to that all branches will be closed initially.
To solve you issue, you need to make all tasks closed manually. Please check the example how to implement it: