Hi,
I'm trying to compare oldData and newData in the onAppointmentUpdating event of the dxScheduler.
The problem i've encountered is that the start and end dates of the old and new appointments are always the same.
Here there are an example based on the demo (https://js.devexpress.com/jQuery/Demos/WidgetsGallery/Demo/Scheduler/Timelines/MaterialBlueLight/)::)
https://codepen.io/Omar-Silvini/pen/MYYgyBm.
Please, can you explain me what i'm doing wrong?
Thanks
Hello,
Thank you for the example.
The values are the same because they are all
undefined
. ThenewData
andoldData
objects do not includestart
andend
properties. If you log the event in theonAppointmentUpdating
handler, you'll notice that these objects containstartDate
andendDate
instead.As you can see in the screenshot, the values in these fields are different:

I hope this helps.
Hi,
Thanks for the reply.
Sorry for the mistake.
I changed the codepen, now i used startDate and endDate but the result is the same. Note that my version i 24.2.6.
I hope this can explain my problem.
Thanks
Hi,
I forgot to specify that the action to do for showing the error on the console is the resize (not the drag and drop).
Sorry again for the oversight.
Thanks