Asked by Phil Stratford 10 years ago.
I'm sure what I need to do is possible with the current feature set of DayPilot Calendar but I can't quite figure it out and if anyone can offer any advice it'd be great.
What I need is EITHER a way of having multiple events which are linked, so that moving one event in time moves them all, but each individual event can be moved between resources (columns) independently.
OR a way of splitting an event so that within the event are sub-events which occur at different times and have different durations.
For example, in a hospital scenario: There might be a main event from 9am to 3pm, with a title of 'Mr Smith - Appendectomy'. Sub events might be:
9am-9:30am 'Registration' - Reception
9:30am-10:30am 'Pre-exam' - Ward 3
10:30am-11am 'Anaesthesia' - Pre-Med Room
11am-1pm 'Surgery' - Theatre 3
1pm - 2pm 'Recovery' - Ward 2
2pm - 3pm 'Discharge' - Reception
While the times of the events would all move together, obviously any sub-event could have its location changed without affecting the others. And ideally you could drag a sub-event to extend it or shorten it and the linked events would move to accommodate this so that they were always contiguous.
I've already created a 'Parent Event ID' field in my table to be used for linking events using a common ID, but implementing this in DayPilot is tough!