DayPilot.Month.onBeforeEventRender

Declaration

onBeforeEventRender(args)

Parameters

  • args.data - event data, as in .events.list (copy)

Note: In builds 8.1.1794 and previous the event data object is accessible as args.e.

Example

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

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java