search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

newResourceId is undefined on event resize

Related article: JavaScript Resource Calendar Tutorial - PHP/MySQL (Open-Source)
Asked by Anonymous
2 months 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 months 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 months old and has been closed. Please create a new question if you have anything to add.