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
23 days 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]
23 days 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().

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):