Our pure JavaScript Scheduler component
Hey,
Sorry, I don't understand which behavior you're referring to by watching the video. Can you please also describe the behavior you're referring to?
Best regards,
Tasnim
How to ask for help? Please read our Support Policy
I would like to block the behavior, that Increase-decrease the duration of an event at both ends of the event ( beginning and end).
What i am showing in the video attaching > i don't want to be allowed to do it. ( i want only to be allowed to change the resource, nothing else)
You understand what i mean now ?
Attachments
Screen Recording 2024-10-14 at 15.18.44.mov
(2 MiB) Downloaded 9 times
It's as simple as:
const scheduler = new Scheduler({
appendTo : targetElement,
features : {
eventResize : false
}
});
Hello and thanks both for your reply,
Because i need that elsewhere aswell, i am using the following config > how can i use the last implementation Mr. Mats suggusted > Because using my code > features : {} its not working ?
const schedulerConfig = {
startDate: new Date(),
endDate: new Date(new Date().getTime() + 24 * 60 * 60 * 1000),
flex: 3,
tickSize: 30,
allowOverlap: true,
eventStyle: 'colored',
snap: true,
}
Perfect, thank you so much.