Our powerful JS Calendar component
The issue being that on dragging an event reverts back to its original position? (As opposed to something about local time in the thread header?)
I cleaned up the codepen so that it worked. Knock things out is the key. The resource filter was making nothing show.
https://codepen.io/Animal-Nige/pen/MWLMQJL?editors=0010
Dragging an event resulted in the beforeDragMoveEnd
handler returning ```false`` and preventing the drag change.
Screenshot 2023-12-15 at 16.48.42.png (666.73 KiB) Viewed 1690 times
display: none !important;
flex-flow: row nowrap !important;
}
Not sure of the purpose of that. It breaks the UI - you don't know what date you're on!
And this:
.b-dayview-allday-row-start {
display: none !important;
}
That's needed. If you ever plan to use any views with headers and a view below that acquires a vertical scrollbarL
Screenshot 2023-12-15 at 17.13.26.png (535.61 KiB) Viewed 1689 times
Hi,
yes, that was indeed one of my problems, the resourceId checks, but the main reason why the event jumps back to the previous place and back is the line where I reset the event start date and end date with newStartDate and newEndDate. I removed that piece of code and it works again
event.eventRecord.data["startDate"] = event.newStartDate;
event.eventRecord.data["endDate"] = event.newEndDate;
thanks for your support!