search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Show some text in the dates where event is not listed

Asked by Anonymous
4 years ago.

I want to show no event in the dates in calendar where events are not listed (DayPilot.Month)

Answer posted by Dan Letecky [DayPilot]
4 years ago.

Since version 2019.3.3907 you can use this:

dp.onBeforeCellRender = function(args) {
  if (args.cell.events().length ===  0) {
    args.cell.html = "No event here";
  }
};
Comment posted by Anonymous
4 years ago.

args.cell.events().length is not a function error coming

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.