Hi,
I have a requirement whereby I need to be able to resize an appointment as it is being dragged by the user [multiple appointments are not allowed in the same slot]. Not allowing an appointment in an already used slot has been done, but I am having trouble with the second part of this requirement. As I see it, to do this I will have to be able to:
- look at a the time-slots that are at each side of the current target_slot
- check to see if there are any appointments in either of these slots
- If there are, resize the current appointment.
The trouble i have at the moment is that I am not sure how to get the adjacent slots.
How do I go about doing this?
regards
Augeneer
I have a requirement whereby I need to be able to resize an appointment as it is being dragged by the user [multiple appointments are not allowed in the same slot]. Not allowing an appointment in an already used slot has been done, but I am having trouble with the second part of this requirement. As I see it, to do this I will have to be able to:
- look at a the time-slots that are at each side of the current target_slot
- check to see if there are any appointments in either of these slots
- If there are, resize the current appointment.
The trouble i have at the moment is that I am not sure how to get the adjacent slots.
How do I go about doing this?
regards
Augeneer