Drag, Resize and Create Events

Drag & drop is a core feature of the event calendar and it is composed of four sub-features:

  • Click to create events - double click to create events. This can be turned off or set to single click
  • Drag to create events - tap/click to start creating an event and drag to the desired length
  • Move events - grab an event and move it wherever needed
  • Resize events - change the length of an event, grab it from either end and resize it
  • Delete events - pressing the Delete or Backspace keys on the keyboard will delete the focused event

You have granular control over features through the clickToCreate, dragToCreate, dragToMove, dragToResize and eventDelete options, which are false by default.

Use the dragTimeStep option (defaults to 15 minutes) to set the snap resolution of all drag actions.

Events can be marked as fixed by setting their editable property to false. This turns delete, drag & drop move and resize off for the event. The mbsc-event-readonly CSS class will be added to the events. This means if you would like to add opacity, override the mouse cursor or apply any other CSS override, you can add it to this class.

Download and try example

Demo

Granular control over the interaction
Click to create event (double click)
Drag to create event
Move & reorder events
Drag to resize existing events
Delete events
Control drag sensitivity
Snap events to every minutes when moving.
mobiscroll.eventcalendar('#calendar', {
    view: {
        scheduler: { type: 'week' }
    },
    data: [{
        title: 'Fixed event',
        start: '2026-10-20T16:00',
        end: '2026-10-20T20:00',
        color: '#9e9e9e',
        editable: false
    }, {
        title: 'Fixed event',
        start: '2026-10-22T06:00',
        end: '2026-10-22T09:00',
        color: '#9e9e9e',
        editable: false
    }, {
        title: 'Fixed event',
        start: '2026-10-23T12:00',
        end: '2026-10-23T14:00',
        color: '#9e9e9e',
        editable: false
    }, {
        title: 'Drag me',
        start: '2026-10-21T11:00',
        end: '2026-10-21T15:00',
        color: '#cc9900'
    }, {
        title: 'Drag me',
        start: '2026-10-24T04:00',
        end: '2026-10-24T08:00',
        color: '#cc9900'
    }, {
        title: 'Resize me',
        start: '2026-10-20T02:00',
        end: '2026-10-20T06:00',
        color: '#ca4747'
    }, {
        title: 'Resize me',
        start: '2026-10-24T13:00',
        end: '2026-10-24T18:00',
        color: '#ca4747'
    }, {
        title: 'Move me around',
        start: '2026-10-22T19:00',
        end: '2026-10-22T23:00',
        color: '#339966'
    }, {
        title: 'Move me around',
        start: '2026-10-25T08:00',
        end: '2026-10-25T11:00',
        color: '#339966'
    }],
    clickToCreate: true,
    dragToCreate: true,
    dragToMove: true,
    dragToResize: true,
    dragTimeStep: 15,
    eventDelete: true
});
Enable or disable drag-to-create, move, resize, and delete in a Scheduler — configure snap interval and lock individual events as read-only.

Duplicate Session

You have signed in on a different machine. To keep everything in sync, you have been signed out of this session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.

Duplicate Session

We noticed you are logged in on a different machine and have closed your old session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.