Drag events only vertically

Hi,

I have a scheduler in timeline mode. I can move the events everywhere I like. But I don’t want that the events get a new start and end time. So I want to disable a “horizontal” moving but allow the change of sections.

For example imagine a huge event which takes time only and only at the reserved timeslot. But it is possible that the event place may change.

Is that possible or do I have to implement it via beforeDrag/beforeDrop events?

Thanks in advance

Hello,

There is no built-in solution for this issue.
The best way to implement such functionality is to use onBeforeEventChanged event. Please, see example:
docs.dhtmlx.com/scheduler/snippet/4037edcd

Great, thanks.