DayPilot.Calendar.onBeforeHeaderRender

Declaration

onBeforeHeaderRender(args)

This event allows customization of the column header.

Parameters

  • args.header.id (read-only)
  • args.header.start (read-only)
  • args.header.name (read-only)
  • args.header.html
  • args.header.backColor
  • args.header.toolTip
  • args.header.areas
  • args.header.children (read-only)

Example

dp.onBeforeHeaderRender = function(args) {
  args.header.html = args.header.start.toString("M/d/2014");
};

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