Drag and drop external events to now-calendar component
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi,
Our team is deveoping a custom workspace for a client. Here we have to use now-calendar component. There will be 2 containers one will have task cards which are in open state and the other will be OOB now-calendar component. we can create new events using new button in now-calendar component. But the client is asking for drag and drop feature. He wants to drag the task card into calendar timeframe. This action should make task assigned to a particular person and he should work on that task in a particular time frame. Now OOB cards available doesn't have drag functionality. So we had to develop draggable custom cards which will hold task data and drop it to the calendar component. Now we have developed a sample card component which can be dragged. But we are unable to drop it to the calendar compoent. We are not sure how to add the drop functionality. Please help us add the drop functionality.
Below are the files for sample card component I have developed for testing in my PDI.
code in index.js file