Scheduler: Time Header Customization
The time header cells can be customized using OnBeforeTimeHeaderRender event.
This OnBeforeTimeHeaderRender method is called once for each header cell (including the time header group cells).
It is possible to adjust the following properties:
- BackColor
- InnerHtml
- ToolTip
The OnBeforeTimeHeaderRender can be used to set the visibility of time columns for the hidden business hours mode (e.Visible property).
Example:
protected override void OnBeforeTimeHeaderRender(BeforeTimeHeaderRenderArgs e)
{
e.InnerHtml = String.Format("<span style="font-weight: bold">{0}</span>", e.Start.ToShortDateString());
}