v7.3.0

DayResourceView
Widget

A calendar view showing resources grouped by date, it is normally used as a mode of a Calendar but may be used standalone as a regular Widget.

By default, it shows a one-week range encapsulating the Calendar's current date. This can be configured using the range config property.

Useful configs

Config Description
minResourceWidth Minimum width of a resource column
showHeaderAvatars Show resource avatars in column headers
hideEmptyResources Hide resource columns with no events
range Date range to display

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.

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

    Has a corresponding runtime hideEmptyResources property.

  • By default, resource avatars are shown in the resource header if there is horizontal space. Configure this as false to inhibit this.

    Has a corresponding runtime showAvatars property.

Properties

Properties are getters/setters or publicly accessible variables on this class
  • Configure this as true to hide resource columns which contain no events.

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

    Has a corresponding hideEmptyResources config.

  • A callback function which an application may provide to filter out resource columns for particular dates.

    Has a corresponding resourceDateFilter config.

  • By default, resource avatars are shown in the resource header if there is horizontal space. Configure this as false to inhibit this.

    Has a corresponding showAvatars config.

  • isDayResourceView : Booleantrue
    READONLY
    ADVANCED
    Identifies an object as an instance of DayResourceView class, or subclass thereof.
type: dayresource

Source path

Calendar/widget/DayResourceView.js

Demo

examples/date-resource

Contents