当前位置: 动力学知识库 > 问答 > 编程问答 >

oracle adf - Drag and drop functionality in ADF Calendars

问题描述:

I have a doctors schedule set in my ADF Calendar, say he has an appointment on 11.00 am but at the same time he has a personal emergency. He wants to reschedule the appointment to 11am the next day. This can be done using a form where in he performs an update or another way could be drag the appointment from the current date and drop it to the next date in the calendar view which seems a really attractive solution.

I am not sure if this is possible in ADF calendar, has anyone tried this or even if someone has another solution please do advice. I am open to suggestions.

Thanks

网友答案:

You can use Calendar's drag and drop functionality to achieve this. Here are the steps:

  • Add 'Calendar Drop Target' as a child to Calendar:

  • Add the code required for setting dragged activity start and end date in respect to drop target date in calendarDropListener,as guided in Oracle docs

For detailed implementation of calendarDropListener have a look at Implementing Drag and Drop functionality in ADF Calendar

分享给朋友:
您可能感兴趣的文章:
随机阅读: