Can't collapse a folder

In this example, i can collapse the first folder but tth others can’t collapse itself:

docs.dhtmlx.com/scheduler/snippet/5fef549c

Furthermore, the events’cells are not aligned with their title.

Hello,

The event’s cells are not aligned with their title because you have set height of cells to 20 px (dy value in createTimelineView method). You need at least 60.
If you want to refresh y_unit properties, better to use serverList and updateCollection methods. See example:
docs.dhtmlx.com/scheduler/snippet/f817837a

docs.dhtmlx.com/scheduler/api__s … rlist.html
docs.dhtmlx.com/scheduler/api__s … ction.html