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

Drag and Drop task (events) on a specific resource

Related article: Angular 2 Scheduler Tutorial (TypeScript)
Asked by Willem-Jan van Kranenburg
5 years ago.

I have a Angular 2 web-app with tasks (events) and resources. I also have a drag-and-drop module instaled ( Is it posible to drag a task from a list and drop it on a specific resource, without the task beforehand knowing what resource?

For example: I have 2 resources, and 2 tasks, displayed in a unordered list. I want to drag 'task A' to 'Resource 2'. In the HTML file I can only say that items can be dropped the whole daypilot-scheduler, not on a specific resource.

Is there a way to make each resource individually "dropable" so that the task will be added to the resource I drag it to?

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