Prevent time overlaps in timeline view

6 replies. Last post: April 20, 2012 9:01 AM by Frank Gary
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Frank GaryMember

Gentlemen,

Can you please advise how to prevent timeline time overlaps when MOVING or RESIZING color bars? I am not sure where or how to implement this, I am assuming it is a client side event?

Here is my scenario based on the attached document image:

For example: If resource "1" has an existing appointment "A" scheduled from 1pm to 330pm, I cannot allow a user to move or resize ANOTHER existing appointment "B" that has a startdatetime or an enddatetime that "overlaps" the existing appointment "A" in Resource 1.

In other words, if existing Resource "1" appointment "A" is from 1:00pm to 330pm, I cannot allow another existing appointment "B" to be MOVED or RESIZED into existing appointment "A" where appointment "B" startdatetime or enddatetime falls between 1:01pm to 3:29pm. I need a warning to the user that this is not allowed and stop the appointment "B" color bar from being moved or resized.

Please see the attached document. Resource Eco 2 - Mav and Resource Eco 3 - Mav both have 2 appointments that start and end at the same time, this is ok. However, Resource Eco 1 - Mav has one appointment from 100pm to 330pm and another appointment from 130pm to 400pm, this is not ok as one appointment "overlaps" the other.

I am able to control the user not being able to ADD an overlapped appointment through my custom editing form, I just do not know how to stop the user from moving or resizing an existing appointment into another existing appointment.

You help would be greatly appreciated!

Frank

 

All times are GMT -5. The time now is 8:36 PM.
Previous Next