Hi,
I am trying to apply a css style on some cells depending on their dates.
I've added the following code:
<SfCalendar TValue="DateTime?" IsMultiSelection="true" WeekNumber="true">
<CalendarEvents TValue="DateTime?" OnRenderDayCell="OnRenderDayCell"></CalendarEvents>
</SfCalendar>
I was expecting to be able to use
public void OnRenderDayCell(RenderDayCellEventArgs args)
{
}
get the args.Element and apply the css there; however the Element is always null.
How can I customize the cells?
Kind regards,
Razvan