DayPilot.Scheduler.onBeforeGroupRender

The onBeforeGroupRender event allows customization of the concurrent event group boxes displayed by the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.onBeforeGroupRender(args)

Parameters

  • args.group.count (number) - number of concurrent events in this group
  • args.group.events (array) - array of events in the group (DayPilot.Event objects), since 8.3.2847
  • args.group.html (string) - HTML of the group box
  • args.group.bubbleHtml (string) - defines the static bubble content

Example

dp.onBeforeGroupRender = function(args) {
  args.group.html = args.group.count + " events in this group";
};