monthly event calendar html5 day header

You can customize the day header (with day names - Monday, Tuesday...) using BeforeHeaderRender event handler.

You can customize the following properties:

  • HTML
  • Background color

JavaScript

dp.onBeforeHeaderRender = function(args) {
  args.header.html += "*" + args.header.dayOfWeek;
};

ASP.NET WebForms

protected void DayPilotMonth1_BeforeHeaderRender(object sender, BeforeHeaderRenderEventArgs e)
{
  if (e.DayOfWeek == DayOfWeek.Sunday) {
    e.Html = "Sun";
  }
}

ASP.NET MVC

Not supported yet.