MH42 / gwt-cal

Automatically exported from code.google.com/p/gwt-cal
0 stars 0 forks source link

'enableDragAndDrop' variable for each appointment instead of whole calendar #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Description of the new feature:

boolean variable 'enableDragAndDrop' should be in Appointment class instead 
calendarSetting class. So that if appointments less than current date/time then 
those appointments will be disabled for drag and drop.

Use Case:

Assumptions:
1. should be implemented for day view
2. shuold be implemented for month view 
3. Drag boundary should be with in the current and future dates 

Exceptions:
1.
2.
3.

Code / psuedo-code:

Original issue reported on code.google.com by info2...@gmail.com on 25 Nov 2010 at 9:10

GoogleCodeExporter commented 8 years ago
I had a similar need. My approach was to add a new readOnly value to the 
Appointment. This helped me in my business logic. Also I could use this new 
setting to disable completely the Drag & Resize handlers.

I hope it may help you.

Original comment by ctasada on 17 Dec 2010 at 9:47

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r383.

Original comment by ctasada on 2 Dec 2011 at 3:24

GoogleCodeExporter commented 8 years ago

Original comment by ctasada on 3 Jan 2012 at 4:08