logo

FullCalendar

This version is in beta. Read the release notes

columnHeaderHtml

Programmatically generates HTML that will be injected on the calendar’s column headings.

function( date ) -> string

This function will will receive a date object that represents a single column’s date and must return an HTML string to be injected.

Example:

var calendar = new Calendar(calendarEl, {
  columnHeaderHtml: function(mom) {
    if (mom.weekday() === 5) {
      return '<b>Friday!</b>';
    } else {
      return '<i>' + mom.format('LLL') + '</i>';
    }
  }
});