Detect Event Change on onDragEnd

Is there a way by which i can detect if the event has changed ( in terms of timing - start and end time) in the onEventDrag Handler.

  scheduler.attachEvent('onEventDrag',function(eventDragEndHandler(eventId, mode,e){
       var eventObj = scheduler.getEvent(eventId);
       var hasEventChanged =  somefunctionwhichDetectsChange(eventObj );
       console.log('Event Changed Status',hasEventChanged );
});

Is there a way by which i can detect if the event has changed ( in terms of timing - start and end time) in the onDragEnd Handler.

You can use onBeforeEventChanged event and compare start and end dates of the event and original event.

docs.dhtmlx.com/scheduler/api__s … event.html