How to get resource name instead of ID

Asked by Michal Bachtin
6 years ago.

Hi guys,

I am looking for a way how to obtain in method onMove in Scheduler Name of the original Resource and NewResource. I know how to get ID, but didnt found a way for Name.

The goal is to allow my client move event only between resources with same name in original and new resource.

I found this 10y old topic (https://forums.daypilot.org/question/921/scheduler_resource_name_and_id). Does exists another way?

Thanks a lot, Michal

Comment posted by Michal Bachtin
6 years ago.

Excelent! The onEventMoving looks as the best way! Thank you Dan.

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.