-
Hi and thanks for sharing this great piece of software! Is there any possibility to prevent users from dragging events to specific timeranges (e.g. background-events marking holidays) and to prevent that users resize events to out of the bounds of timeranges e.g. out of working hours ? They just should be able to add/move/resize events to e.g. Mon-Fri 8am to 5pm but not on Sat/Sun and not between 5pm and 8 am on working days It would be perfect if this was possible to manage for each resource in resource/timeline views - because different resources may have different working hours/office hours ... Any help to get me on the right track would be highly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Unfortunately, there is no such option at the moment. But you can use the eventDrop hook. Inside the hook, you can check if the conditions are met, and if not, cancel the drag by calling the |
Beta Was this translation helpful? Give feedback.
Unfortunately, there is no such option at the moment. But you can use the eventDrop hook. Inside the hook, you can check if the conditions are met, and if not, cancel the drag by calling the
revert
method.