v7.3.0

SchedulerResourceRendering
Mixin

Configs and functions used for resource rendering and by the ResourceInfoColumn class. Controls how resource images, icons, and initials are displayed in the schedule.

const scheduler = new Scheduler({
    resourceImagePath : 'images/users/',
    resourceMargin    : 5
});

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • Generic resource image, used when provided imageUrl or image fields or path calculated from resource name are all invalid. If left blank, resource name initials will be shown when no image can be loaded.

  • Resource image extension, used when creating image path from resource name.

Properties

Properties are getters/setters or publicly accessible variables on this class
  • Get resource column width. Only applies to vertical mode. To set it, assign to scheduler.resourceColumns.columnWidth.

  • Use it to manipulate resource column properties at runtime.

    Has a corresponding resourceColumns config.

  • isSchedulerResourceRendering : Booleantrue
    READONLY
    ADVANCED
    Identifies an object as an instance of SchedulerResourceRendering class, or subclass thereof.

Source path

Scheduler/view/mixin/SchedulerResourceRendering.js

Contents