Our pure JavaScript Scheduler component


Post by jmeire »

Hi,

I am currently using your Bryntum Scheduler to manage reservations of vehicles. I would like to ask a question about the following case:

When i drag a reservation horizontally, the times change. When I move it vertically, the vehicle changes. But when I move my reservation diagonally (times change & vehicle changes) I want to block the horizontal movement, and only trigger the vertical movement.

For now, my solution is to save only the vertical change in case it moves diagonally, and fetch all resources again from the backend. However, this is a very heavy request, so my question is: Is there a way to block the horizontal movement of the reservation when it is also moved vertically, so it snaps to the correct vehicle, but with the same times as before.

We utilise the 'afterEventDrop' event to handle the movements.

Screenshot of our vehicle board as reference:
https://prnt.sc/26g6bpj

Please let me know if extra information is needed!

Thanks in advance.


Post by Animal »


Post Reply