I would like to use new feature mentioned in release notes of version "DayPilot Pro for ASP.NET MVC 8.4" - Active areas supported in Calendar/OnBeforeCellRender
Unfortunately I am not able to create any visible areas in calendar cell. I am using the same feautre in scheduler component without any problems.
My approach is simple:
protected override void OnBeforeCellRender(BeforeCellRenderArgs e)
var currentLocalTime = appContext.CurrentLocalTime;
if (e.Start < currentLocalTime)
var area = new Area();
But no areas are visible after calendar is rendered. Am I doing something wrong? Can you please confirm that it is working?
Thanks for your reply!