Hello Dan,
I am trying to handle move events by javascript so users can be warned when moving items from or into the past. The example you have given (here) is, well, almost working...
What I have done is adding a move-Javascript that needs to be executed by the dynamic scheduler like this:
EventMoveJavaScript="if (external) {schOverview_EventMove(e, newStart, newEnd, oldColumn, newColumn, true); } else {schOverview_EventMove(e, newStart, newEnd, oldColumn, newColumn, false);}"
Now the problem is that the values do not contain their correct values:
e, newStart and newEnd are correct.
oldColumn contains the value of newColumn (oldColumn value is available in e.row()).
newColumn contains probably the value of external (this is a boolean).
Could you explain this?
Kind regards,
Jan Marten