Daily Event Listing

In situations when users are interested in seeing a daily summary rather than an hour-by-hour layout of events use the eventDisplay: 'fill' property under the timeline configuration of the view option.

This is especially useful for spotting overloaded resources/days and helps in managing and creating efficient schedules.

Are you building UI for planning employee shifts?  Check out this example →
Download and try example

Demo

Loading the live demo

Preview in full screen

Show events as full-day labels on a Timeline — useful for spotting overloaded resources and managing schedules without an hourly time grid.

Code

mobiscroll.setOptions({
  locale:  ,
  theme: ' ',
  themeVariant: ' '
});

var calendar = mobiscroll.eventcalendar('#demo-event-listing', {
  clickToCreate:  ,
  dragToCreate:  ,
  dragToMove:  ,
  dragToResize:  ,
  eventDelete:  ,
  view: {
    timeline: {
      type: 'month',
      eventDisplay: 'fill',
    },
  },
  data: [
    {
      start: '2026-10-18T00:00',
      end: '2026-10-21T00:00',
      allDay: true,
      title: 'Event 1',
      resource: 1,
    },
    {
      start: '2026-10-20T09:00',
      end: '2026-10-24T15:00',
      title: 'Event 2',
      resource: 2,
    },
    {
      start: '2026-10-23T00:00',
      end: '2026-10-30T00:00',
      allDay: true,
      title: 'Event 3',
      resource: 2,
    },
    {
      start: '2026-10-10T07:00',
      end: '2026-10-15T12:00',
      title: 'Event 4',
      resource: 2,
    },
    {
      start: '2026-10-27T00:00',
      end: '2026-11-02T00:00',
      allDay: true,
      title: 'Event 5',
      resource: 3,
    },
    {
      start: '2026-10-20T08:00',
      end: '2026-10-22T20:00',
      title: 'Event 6',
      resource: 4,
    },
    {
      start: '2026-10-18T00:00',
      end: '2026-10-21T00:00',
      allDay: true,
      title: 'Event 7',
      resource: 4,
    },
    {
      start: '2026-10-12T00:00',
      end: '2026-10-17T00:00',
      allDay: true,
      title: 'Event 8',
      resource: 5,
    },
    {
      start: '2026-10-26T00:00',
      end: '2026-11-03T00:00',
      allDay: true,
      title: 'Event 9',
      resource: 6,
    },
  ],
  resources: [
    {
      id: 1,
      name: 'Resource A',
      color: '#e20000',
    },
    {
      id: 2,
      name: 'Resource B',
      color: '#60e81a',
    },
    {
      id: 3,
      name: 'Resource C',
      color: '#3ba7ff',
    },
    {
      id: 4,
      name: 'Resource D',
      color: '#e25dd2',
    },
    {
      id: 5,
      name: 'Resource E',
      color: '#f1e920',
    },
    {
      id: 6,
      name: 'Resource F',
      color: '#1ac38d',
    },
  ],
  renderHeader: function () {
    return (
      '<div mbsc-calendar-nav class="md-event-listing-nav"></div>' +
      '<div class="md-event-listing-picker">' +
      '<label>Work week<input mbsc-segmented type="radio" name="view" value="workweek" class="event-listing-view-change"></label>' +
      '<label>Week<input mbsc-segmented type="radio" name="view" value="week" class="event-listing-view-change"></label>' +
      '<label>Month<input mbsc-segmented type="radio" name="view" value="month" class="event-listing-view-change" checked></label>' +
      '</div>' +
      '<div mbsc-calendar-prev class="md-event-listing-prev"></div>' +
      '<div mbsc-calendar-today class="md-event-listing-today"></div>' +
      '<div mbsc-calendar-next class="md-event-listing-next"></div>'
    );
  },
});

document.querySelectorAll('.event-listing-view-change').forEach(function (elm) {
  elm.addEventListener('change', function (ev) {
    switch (ev.target.value) {
      case 'workweek':
        calendar.setOptions({
          view: {
            timeline: {
              type: 'week',
              eventDisplay: 'fill',
              startDay: 1,
              endDay: 5,
            },
          },
        });
        break;
      case 'week':
        calendar.setOptions({
          view: {
            timeline: {
              type: 'week',
              eventDisplay: 'fill',
            },
          },
        });
        break;
      case 'month':
        calendar.setOptions({
          view: {
            timeline: {
              type: 'month',
              eventDisplay: 'fill',
            },
          },
        });
        break;
    }
  });
});

mobiscroll.getJson(
  'https://trial.mobiscroll.com/timeline-events/',
  function (events) {
    calendar.setEvents(events);
  },
  'jsonp',
);
  

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.