New release: Mobiscroll 6.2

Mobiscroll 6.2 release cover

Mobiscroll 6.2 adds multiple event drag and drop to the Eventcalendar, Scheduler and Timeline. Teams building planning and scheduling interfaces can now let users move a whole selection of events in one gesture. The release also adds a unified eventItems list for handling batch changes, and a set of Timeline resource improvements for resource-heavy planning.

Get Mobiscroll 6.2 or read on for a full breakdown.

Move multiple events at once with drag and drop

Teams building shift planners, dispatch boards or room schedules often need to reschedule a group of events together. With selectMultipleEvents enabled, grabbing one of the selected events and dragging it now moves the whole selection in the Eventcalendar, Scheduler and Timeline. Multi-drag is not on by default, so enable selectMultipleEvents to turn it on.

Mobiscroll Eventcalendar month view with two selected events dragged together to a new week

Eventcalendar demo — A month view where two selected events are dragged together to a new week. Toggles control click to create, drag to create, move, resize, delete and dragging multiple events.

Mobiscroll Scheduler week view with two selected events moved together to new days and times

Scheduler demo — A weekly scheduler where selected events move together across days and time slots, with a configurable snap interval and fixed events that can’t be moved.

Mobiscroll Timeline with two selected events dragged together across resource rows

Timeline demo — A daily timeline with resources as rows, where selected events move together to new times and resources.

Multi-drag with external drops

External drops work with multi-drag as well. The Dropcontainer’s onItemDrop, onItemDragEnter and onItemDragLeave events now carry a dataItems property that holds all the dragged items, including the grabbed one. It contains more than one item when multiple events are dragged. For the third-party drag and drop integration, the onExternalDrop event gets a matching dragDataItems property.

Handle batch changes with eventItems

When one action can affect several events, handlers need a single place to read them from. The new eventItems property lists every event affected by the action, one item per event. It is available in the arguments of onEventCreate, onEventCreated, onEventCreateFailed, onEventUpdate, onEventUpdated, onEventUpdateFailed, onEventDragStart and onEventDragEnd in the Eventcalendar, Scheduler and Timeline.

Deprecated arguments and updated typings

The events and oldEvents arguments of onEventUpdate and onEventUpdated are deprecated. Use the event and oldEvent of the eventItems instead. The deprecated arguments are not removed, so existing handlers keep working and teams can migrate gradually.

The typings of the failure events are also more accurate. In onEventCreateFailed and onEventUpdateFailed, the invalid and overlap arguments are now typed as optional, because only one of them is set when an event hits an invalid range or an overlapping event.

Timeline improvements for resource-heavy planning

Teams building workforce or resource planning views with grouped resources get three Timeline improvements in this release.

Mobiscroll Timeline with nested parent resource groups that can be expanded and collapsed

Timeline with grouped resources. Parent rows expand and collapse, and groups can be nested.

Per-day parent resource collapse

The new resourceCollapsePerDay option works with resolutionVertical: 'day'. When it is set to true, parent resources collapse and expand independently in each day, instead of in all days at once.

Hidden rows with resource groups

With hideEmptyRows and hideInvalidRows, a parent resource is now hidden when all of its descendants are hidden too. This also applies per day when resolutionVertical: 'day' is used.

Keyboard navigation through the resource hierarchy

Keyboard users no longer have to tab through every expand/collapse icon before reaching the events. Only one icon is now in the tab order, and the up and down arrow keys move between the parent resource icons.

Minor improvements and resolved issues

Mobiscroll 6.2 also includes a set of smaller improvements and fixes:

  • Timeline: dragging an event no longer resets its start time to midnight when eventDisplay is 'fill', the deprecated eventList is enabled, or slots are used (a regression in 6.1.3)
  • Timeline: an event ending exactly at the view’s endTime now renders with the end styling (rounded corners and resize handle) when endTime is not midnight
  • Timeline: the dragged resource stays positioned correctly when the timeline auto-scrolls while reordering resources
  • Angular: the year selection view shows the correct years after paging back with the previous arrow (Eventcalendar, Agenda, Scheduler, Timeline and Datepicker)

What’s next

Work continues on the Eventcalendar and on interaction patterns across the scheduling components. We’ll share more as it takes shape.


For a full list of changes, see the Mobiscroll 6.2 release notes.

Ready to update? Get Mobiscroll 6.2.

If your maintenance has lapsed, renew your license to access Mobiscroll 6.2 and all the releases since your last active version.

MOBISCROLL 6.2

Agenda

Fixed

  • We fixed an issue in Angular where the year selection view showed the years of the first page after paging back with the previous arrow, while the header showed the new range.

Datepicker

Fixed

  • We fixed an issue in Angular where the year selection view showed the years of the first page after paging back with the previous arrow, while the header showed the new range.

Draggable

New

  • We added the dragDataItems property to the arguments of the onExternalDrop event of the third-party drag and drop integration, holding all the dragged items, also the grabbed one.

Dropcontainer

New

  • We added the dataItems property to the onItemDrop, onItemDragEnter and onItemDragLeave events, holding all the dragged items, also the grabbed one. It contains more than one item when multiple events are dragged.

Eventcalendar

New

  • We added support for dragging multiple events at once. With selectMultipleEvents enabled, dragging a selected event now moves all the selected events together.
  • We added the eventItems property to the arguments of the onEventCreate, onEventCreated, onEventCreateFailed, onEventUpdate, onEventUpdated, onEventUpdateFailed, onEventDragStart and onEventDragEnd events. It lists all the events affected by the action, one item for each event. The events and oldEvents arguments of onEventUpdate and onEventUpdated are deprecated, use the event and oldEvent of the eventItems instead.

Fixed

  • We fixed an issue where the invalid and overlap arguments of the onEventCreateFailed and onEventUpdateFailed events were typed as always set, although only one of them is set when an event interacts with an invalid range or an overlapping event. Both are now typed as optional.
  • We fixed an issue in Angular where the year selection view showed the years of the first page after paging back with the previous arrow, while the header showed the new range.

Scheduler

New

  • We added support for dragging multiple events at once. With selectMultipleEvents enabled, dragging a selected event now moves all the selected events together.
  • We added the eventItems property to the arguments of the onEventCreate, onEventCreated, onEventCreateFailed, onEventUpdate, onEventUpdated, onEventUpdateFailed, onEventDragStart and onEventDragEnd events. It lists all the events affected by the action, one item for each event. The events and oldEvents arguments of onEventUpdate and onEventUpdated are deprecated, use the event and oldEvent of the eventItems instead.

Fixed

  • We fixed an issue where the invalid and overlap arguments of the onEventCreateFailed and onEventUpdateFailed events were typed as always set, although only one of them is set when an event interacts with an invalid range or an overlapping event. Both are now typed as optional.
  • We fixed an issue in Angular where the year selection view showed the years of the first page after paging back with the previous arrow, while the header showed the new range.

Timeline

New

  • We added support for dragging multiple events at once. With selectMultipleEvents enabled, dragging a selected event now moves all the selected events together.
  • We added the eventItems property to the arguments of the onEventCreate, onEventCreated, onEventCreateFailed, onEventUpdate, onEventUpdated, onEventUpdateFailed, onEventDragStart and onEventDragEnd events. It lists all the events affected by the action, one item for each event. The events and oldEvents arguments of onEventUpdate and onEventUpdated are deprecated, use the event and oldEvent of the eventItems instead.
  • We added the resourceCollapsePerDay option to the timeline view. When resolutionVertical: 'day' is used and the option is true, the parent resources are collapsed and expanded independently in each day, instead of in all days at once.

Fixed

  • We fixed an issue where the invalid and overlap arguments of the onEventCreateFailed and onEventUpdateFailed events were typed as always set, although only one of them is set when an event interacts with an invalid range or an overlapping event. Both are now typed as optional.
  • We fixed an issue in Angular where the year selection view showed the years of the first page after paging back with the previous arrow, while the header showed the new range.
  • We fixed an issue where an event ending exactly at the endTime of the view was not rendered with the end styling (rounded corners and resize handle), when the endTime was not midnight.
  • We fixed an issue where all the expand/collapse icons of the parent resources were in the tab order, so keyboard users had to tab through all of them before reaching the events. Only one icon is now focusable, and the up and down arrow keys move between them.
  • We fixed an issue where the parent resources were always displayed with the hideEmptyRows and hideInvalidRows options, even when they and all their child resources were empty or fully invalid. Now a parent resource is hidden when all its descendants are hidden too, also per day when resolutionVertical: 'day' is used.
  • We fixed an issue where the dragged resource was not positioned correctly when the timeline auto-scrolled while reordering resources, and moved away from the cursor and the view.
  • We fixed an issue where dragging an event reset its start time to midnight when eventDisplay was set to 'fill', the deprecated eventList was enabled, or slots were used. This was a regression in 6.1.3.

For the full changelog please visit our release history.

PS. You will find an upgrade guide for moving from Mobiscroll 5 to Mobiscroll 6.