Skip to content

showUnassigned

Adds an “Unassigned” column first to resource views (a row to the timeline) for events on no known resource.

Typeboolean
Defaultfalse
Live update (update())Yes
Declared inpackages/core/src/kernel.ts

An event with no resourceId, or one naming a resource that is not in resources, is not shown by resource views — it belongs to no column. With showUnassigned: true they gather in a first column, “Unassigned” (the words are messages’), where a person can see them and drag them onto a resource.

import { createCalendar } from '@dzcalendar/dom';
const calendar = createCalendar(element, {
timeZone: 'Europe/Paris',
initialView: 'resourceTimeGridDay',
resources: [{ id: 'benali', title: 'Dr Benali' }],
events: [{ id: 'u', title: 'To assign', start: '2026-10-21T11:00[Europe/Paris]' }],
editable: true,
showUnassigned: true,
});
// Later: assigned ones only.
calendar.update({ showUnassigned: false });

In Angular and Vue it goes in options; in React it is a prop.

The visit to assign appears in the first column.