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

Drag and Drop an item from external windows forms to DayPilot Scheduler

Asked by Vane
4 years ago.

We are trying to implement Drag and Drop scenario using the explanation in https://doc.daypilot.org/scheduler/external-drag-and-drop/, but our external application is a desktop windows forms app and the steps are following:

1. Click on a windows forms app to take some details like event name, event id, event duration etc.
2. Start dragging with mouse down over the DayPilot Scheduler control
3. Stop moving the mouse over a cell/row on the Scheduler
4. Release the mouse to make drop
5. Create DayPilot Event and draw it over the selected row/resource

Is this possible?

Answer posted by Dan Letecky [DayPilot]
4 years ago.

Hi Vane,

It's now possible to drag external items (including files from desktop and items from other applications) to the Scheduler cells using the native HTML5 drag and drop API. Please see the following tutorial:

https://code.daypilot.org/63946/javascript-scheduler-dragging-items-from-desktop

Comment posted by Naomi
4 years ago.

Hi,

Sorry for adding to this thread, but this question is similar to what I need. I want to drag and drop events from scheduler into external "clipboard" control (beneath the scheduler) and from the clipboard back to the scheduler. The second part I was able to achieve using tutorial and adding new dayPilotDraggable directive as described in the documentation. I'm now wondering how can I make my "clipboard" to be able to receive the event from the calendar? I'm using angularJs.

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