New to Telerik UI for Blazor? Download Free 30-day trial
Calendar - CellRender Event
- Change Theme
Loading the demo source code...please wait.
You can use the
CellRenderevent of the Calendar to apply conditional styling on its cells based on a certain criteria. The
CellRenderevent fires when each cell in each view is about to render. It allows you to see which view it is in, what its date is, and you can set the
tdelement based on your business logic. You can also customize the Calendar cells through their templates.