How to disallow switching events on y_unit

Hey guys,

my app contains a timeline view like this one: docs.dhtmlx.com/scheduler/sample … lines.html

I like to know how to make events not able to switch on “y_unit” rows. An event should stay in its row. Thanks!

Hello,
the simplest way would be to capture onBeforeEventChanged event and cancel it if event section has changed:
docs.dhtmlx.com/scheduler/api__s … event.html