DayPilot.Calendar.onBeforeTimeHeaderRender

Declaration

onBeforeTimeHeaderRender(args)

Parameters

  • args.header.hours (read-only, e.g. 13)
  • args.header.minutes (read-only, e.g. 30)
  • args.header.start (read-only, e.g. "13:30")
  • args.header.html
  • args.header.areas

Example

dp.onBeforeTimeHeaderRender = function(args) {
  if (args.header.hours === 12) {
    args.header.html = "noon";
  }
}; 

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