Disable horizontal drag and drop feature in timeline view

Ho to all,

I want to disable the horizontal drag and drop in timeline view of the schedule but vertically drag and drop of event should be work.

there is a configuration to disable the drag and drop but it disable both horizontal and verticall but i want to disable only the horizontal drag and drop.

thanks

Hello,
I think it’s impossible to do so.
However, you may try using onBeforeEventChanged event, to revert horizontal drag, after it’s finished.
docs.dhtmlx.com/doku.php?id=dhtm … entchanged

Thanks a lot on the basis of event_object.section_id and unmodified_event.section_id i can find the drag direction horizontal or verticall and i can revert back.

Thanks