v7.3.0

DayResourceCalendarRow
Widget

This is normally used as the "All day events" section of a DayResourceView. It is not designed to be used standalone as a regular Widget.

A Widget which displays date and resource headers, and all day events at the top of a DayResourceView.

Cell rendering can be customized using the dayCellRenderer method.

Event rendering can be customized using the eventRenderer method.

It can be configured through the DayResourceView's allDayEvents config:

const calendar = new Calendar({
    modes : {
        dayresource : {
            allDayEvents : {
                showHeaderAvatars : true,
                overflowClickAction : 'popup'
            }
        }
    }
});

Useful configs

Config Description
showHeaderAvatars Show resource avatars in column headers (true, 'last')
resourceHeaderRenderer Custom function to replace default resource header HTML
resourceHeaderExtraRenderer Custom function to add extra content below the header
hideEmptyResources Hide resource columns with no events

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • Configure this as true to hide resource columns which contain no events.

    Use with care. This may result in no resource columns being rendered for completely empty dates.

    Has a corresponding runtime hideEmptyResources property.

Properties

Properties are getters/setters or publicly accessible variables on this class

CSS variables

CSS variables that can be set to adjust appearance
Name Description
--b-day-resource-calendar-row-border-color Calendar row border color
type: dayresourcecalendarrow

Source path

Calendar/widget/DayResourceCalendarRow.js

Demo

examples/date-resource

Contents