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

How to customize the column header of calendar control?

Asked by Ares
9 years ago.

Hi,

Is it possible to customize the column header as my uploaded photo?

How can I customize like that as it have line break, image (have to trigger a server side event when click on it) and auto height (sometimes the height of header cell is varied according to what information should be shown) ?

Looking forward for an answer.Thanks.

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

The automatic height adjustment is available since 7.1 release (HeaderHeightAutoFit property):

See the release notes:
http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-1.html

Demo:
http://www.daypilot.org/demo/Calendar/HeaderAutoFit.aspx

You can customize the header HTML using BeforeHeaderRender event (modify e.InnerHTML as needed).

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