How to disallow switching events on y_unit

Hey guys,

my app contains a timeline view like this one: … 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!

the simplest way would be to capture onBeforeEventChanged event and cancel it if event section has changed: … event.html