Drag and Drop Scheduling
Move timed appointments or resize either edge, then review the proposed change before saving.
Move and resize
The following example demonstrates dragging between days in the Paris week view. Drag an appointment to another visible day or time, or drag its top or bottom edge to change the start or end. Hold near a viewport edge to scroll. Changes snap to 30-minute steps. Use Apply change to save or Cancel change to discard the draft.
2026-11-30 – 2026-12-06
No changes saved · Requests: 0
<ngb-scheduler date="2026-12-02" view="week" timeZone="Europe/Paris" [slotDuration]="60" [slotDivisions]="2"
[events]="events()" [eventTransformEnabled]="true"
[mutationHandler]="persist" [editPolicy]="policy"
(mutationComplete)="apply($event)" />
Keyboard and touch
Activate an appointment, then choose Move or resize. Tab reaches Previous visible day, Next visible day, Move earlier, Move later, Start earlier, Start later, Shorten and Extend; time controls change one slot; day controls skip hidden dates. Apply change saves once. Escape or Cancel change discards an idle draft. These buttons also work without dragging on touch screens.
Persistence and restrictions
eventTransformEnabled opts in alongside mutationHandler. Applying uses the same restriction and save pipeline as forms. A failed save retains the proposed times for retry; no input events change until the application handles mutationComplete.
All-day editing and resource reassignment
The following example demonstrates multi-day review windows assigned to advisors and rooms. Drag an all-day bar to another visible date or advisor lane, then review the draft. Drag either bar edge to resize its dates. You can also open an event and choose Move or resize. Date controls change one calendar day; the end date is exclusive. Select one or more resources, then Apply change to save the entire draft once.
2 resource combinations
Advisor: Maya Chen
2026-11-30 – 2026-12-06
Advisor: Leo Patel
2026-11-30 – 2026-12-06
No changes saved · Requests: 0
<ngb-scheduler date="2026-12-02" view="week" timeZone="UTC"
[events]="events()" [resources]="resources" [grouping]="grouping"
[eventTransformEnabled]="true" [mutationHandler]="persist"
[editPolicy]="policy" (mutationComplete)="apply($event)" />
<!-- All-day example: start: '2026-12-01', end: '2026-12-03',
allDay: true, resources: { advisor: ['maya'], room: ['north'] } -->
Assignments use the configured resource IDs. Checking several advisors displays the event in each matching lane; clearing them uses the unassigned lane. Unlisted IDs and untouched resource dimensions are preserved. Server permissions and capacity checks belong in the persistence handler.
A cross-lane move replaces the source advisor and keeps other selected advisors and rooms. A resize stays in its current lane. Drop targets must be visible; use the date/view and resource controls to reach other ranges. Timed and all-day events cannot be converted by dropping between regions. Resource reassignment does not change the event timezone.
Current scope
Pointer movement supports timed and all-day appointments in the displayed timezone, including visible resource lanes. Release outside the time grid to cancel. Drops target the currently rendered lanes; dragging does not switch resource pages or convert timed events to all-day events. Moves preserve elapsed duration across clock changes. A missing or repeated target time requires choosing another slot or using the appointment editor. The draft controls provide the same date and resource changes without dragging. A dashed Proposed overlay shows the draft position; the original card remains until Apply succeeds. Exact timestamps appear below the calendar. Server authorization and conflict checks remain application-owned.