Hi,
How can I drag and drop an event between two resources in the Schedule resource view? I've got it working so I can move between dates on same resource, but the client wants to drag and drop between resources as well.
Thanks!
John
-
6/26/2008 8:59:25 PM
Found out how...
Need to use e.NewResource in the EventMove handler, which gives the new resource ID when an event is moved
John
-
6/27/2008 12:23:49 AM
If you use CallBack or PostBack handling, this is handled automatically for you.
If you call eventMovePostBack or eventMoveCallBack from your EventMoveJavaScrpt, you should not forget to pass newColumn variable.
The full declarations are:
DayPilotScheduler.eventMoveCallBack = function(e, newStart, newEnd, oldColumn, newColumn) { ... }
DayPilotScheduler.eventMovePostBack = function(e, newStart, newEnd, oldColumn, newColumn) { ... }