Can I make Joint Events move together but not resize together?
Asked by blalond10 years ago.
Hello!
I'm trying to use the "Joint Events" feature to add a "travel time" event before my actual events.
The events move together very well, but is there a way to make them not resize together?
The javascript example here is such that both move and resize happen:
http://javascript.daypilot.org/demo/scheduler/eventsjoint.html
But this Java example has the joint events moving together but not resizing together (that's how I want it in Javascript):
https://java.daypilot.org/demo/Scheduler/EventsJoint.jsp
(I'm doing this in javascript and angular.)
Thanks!
Answer posted by Dan Letecky [DayPilot]10 years ago.
Since build 2057 you can configure the behavior using the following properties:
dp.jointEventsResize = false;
dp.jointEventsMove = false;
You can test and download build 2057 in the sandbox:
http://javascript.daypilot.org/sandbox/scheduler/eventsjoint.html
Comment posted by Dan Letecky [DayPilot]10 years ago.
Note that the Java demo at http://java.daypilot.org/demo/Scheduler/EventsJoint.jsp also resizes everything - it just doesn't update all the events in onEventResize on the server side (just the master).
Comment posted by blalond10 years ago.
Dan! Thanks! That works perfectly well.
I just added it to my config:
dpcontroller.daypilotconfig = {
etc...
jointEventsResize: false
etc...
}
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.