newResourceId is undefined on event resize
Asked by Anonymous
2 years ago.
PHP 8.3.2 & DayPilot Lite: 2022.2.382-lite
onEventResized, the args.newResource is undefined whereas the same works for onEventMoved. Attached the console output for more information
Remarks: even args.resource is undefined
Answer posted by Dan Letecky [DayPilot]
2 years ago.
There is no args.newResource available in onEventResize as the resource doesn’t change during resizing.
You can access the event resource ID using args.e.resource().
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.