Reputation: 31
I am using fullcalender and I am not able to disable resizing and enable draggable
My event is
[{
"title":"Test2",
"start":"2019-09-28T11:00:00",
"end":"2019-09-28T13:00:00",
"backgroundColor":"red",
"textColor":"white",
"constraint":"businessHours",
"eventDurationEditable":false,
"eventStartEditable":true
}]
But not draggable, when I see on website If I change to:
editable: true,
eventDurationEditable:false
event draggable and resizible
Upvotes: 1
Views: 1288
Reputation: 61794
You seem to be setting global options in an event context. When you set these options for each event then the option names are different (without the "event" prefix) - see https://fullcalendar.io/docs/event-parsing.
If you set them as whole-calendar options then your naming would be correct.
Therefore, in your event data use
"editable": true,
"durationEditable": false
instead
Upvotes: 1