How to Enable Resize feature

Created on 12 September 2024, 17 days ago
Updated 13 September 2024, 16 days ago

This module shows feature Resize event (Only available for all day event) , But i am not able to find a way to enable it
There is patch regarding resizing of events
https://www.drupal.org/project/fullcalendar_view/issues/3131172
But cant find a way to enable event resizing. Although fullcalendar library supports this feature

I tried hands on applying custom js to fullCalendarView
Tried enabling eventResizableFromStart eventDurationEditable to true But wasnt able to enable the feature.
https://fullcalendar.io/docs/eventResizableFromStart
$('.js-drupal-fullcalendar').each(function() {
let calendarEl = this;
let viewIndex = parseInt(calendarEl.getAttribute("data-calendar-view-index"));
let viewSettings = drupalSettings.fullCalendarView[viewIndex];
var calendarOptions = JSON.parse(viewSettings.calendar_options);
var event = calendarOptions.events[0];
calendarOptions.eventResizableFromStart = true;
calendarOptions.eventDurationEditable = true;
})

💬 Support request
Status

Postponed: needs info

Version

4.1

Component

Code

Created by

🇮🇳India sahil.shaikh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024