I use angularjs and monthly calendar. I try to update the headerHtml in beforeCellRender event.
onBeforeCellRender: function(args) {
if (args.cell.start.getDay() === 1) { // first day of month
args.cell.cssClass = "holiday";
args.cell.headerHtml = "<div>ddd</div>"; // customize the day cell header
}
}
The css got updated, but the header text does not change. In debugger, I saw the function was called and the field headerHtml is updated. However the calendar cell header rendered is not reflected.