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

Is it possible to drag and drop on an existing event.

Asked by Bbq
13 years ago.
Hello, I am making a scheduler that looks like the Hotel one in the demo. Everything works fine but I was wondering if I could for example drag employees from an external source into an event to link that event with those employees. I know you can external drag-and drop some events but can you drag and drop ON an event. Each events represent a task and I would like to assign employees to it so that's why i'm asking this. Thanks BBQ
Comment posted by Bbq
13 years ago.
ok it's fine i found it
Answer posted by Dan Letecky [DayPilot]
12 years ago.

It's not directly supported at this moment.

However, it's possible to use one of the ajax libraries that support drag&drop and register the event div as a drop target using AfterEventRenderJavaScript. The div reference is available there in "div" variable.

See also:

http://api.daypilot.org/daypilot-calendar-aftereventrender/
http://api.daypilot.org/daypilot-scheduler-aftereventrender/

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