Re sizing events depending on each other

I have few events that are depended on each other for example one event ends and the second one is starting the same time first one ends and in timeline view or in other views. So it should be like this once you drag first events end date i want it would change second ones start date. also once you drag first both of them would drag as one. Any suggestions would be very appreciated.

Or it can be one event with 3 timelines that would be draggable.


You can attach some custom logic to onEventChanged, and from it adjust time of related events.
Also, you can check the beta of dhtmlxGantt 2.0 which may look|work better in case of dependent events.