search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Resize only one side of event

Asked by Anonymous
3 years ago.

Is there a way to disable resize feature on the left side of event?, and allow only right side.

Answer posted by Dan Letecky [DayPilot]
3 years ago.

Yes:

You need to disable resizing using eventResizeHandling="Disabled" (https://api.daypilot.org/daypilot-scheduler-eventresizehandling/) and add an active area at the end with action: "ResizeEnd".

The following tutorial shows how to add the active area:
https://code.daypilot.org/84763/html5-scheduler-for-touch-devices-ipad-android-javascript

Comment posted by Dan Letecky [DayPilot]
3 years ago.

Sorry, instead of using eventResizeHandling="Disabled" you need to disable resizing in onBeforeEventRender:

args.data.resizeDisabled = true;
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.