DayPilot.Queue.onBeforeEventRender

The onBeforeEventRender event is called for each item in the data source (events.list) during loading. You can make adjustments to the data item before it is processed by the Queue component.

Declaration

DayPilot.Queue.onBeforeEventRender(args)

Parameters

  • args.data - event data (a shallow copy of the original object)

Example

dp.onBeforeEventRender = function(args) {
  args.data.cssClass = "test";
  args.data.html = args.e.text + ":";
};