Drag en drop Events wittout overlap in an different Timeline
7 years ago.
Hi,
I would like to change the placement of the Events in the timeline (e.g. Hotel Room Check-In and Check-Out Time (https://code.daypilot.org/27453/html5-hotel-room-booking-javascript-php)) .
There are some Issues if I follow this tutorial;
- How to load the function loadTimeline() as a default view. Now it only works when I use click on the navigation.
- Events snap to a grid. With dp.allowEventOverlap = false; this gives an challange. (E.g. I can;t let booking one end on the 16th and let booking two start on the 16th).
- I prefer a different view: I would like to start an and end an event +12 hours without changing the view of the timeline. I hard-coded +12:00 hours in de DB but then there is the overlap function again... How to snap to the grid and add 12 hours and keep the don't overlap function?
Hope that it makes sense?
Best regards,
Keust
DayPilot