DayPilot - Open-Source Outlook-Like Calendar for ASP.NET
Try the online demo: AJAX-style event creating, moving, resizing, and deleting • Context menu • Day view • Work week view • Week view • PostBack/AJAX/JavaScript event handling • Binding to XmlDataSource, SqlDataSource, DataTable, ArrayList • Custom event formatting • Custom business hours

DayPilot News Blog

Monday, June 12, 2006

Customizing day headers

DayPilot 2.0 beta 1 introduced a multiple-days view. It turned out that day headers are necessary so I added support for them in DayPilot 2.0 final release.

You can customize the day header by setting the following properties:
  • ShowHeader (bool) - whether the header should be visible (default value: true)
  • HeaderHeight (int) - specifies the header height in pixels (default value: 25)
  • HeaderDateFormat (string) - specifies the header format the same way as DateTime.ToString(string) does (default value: "d", short date format)
I've compiled some examples of HeaderDateFormat values for your convenience.

Comments:

Blog comments are closed. Please use forums.daypilot.org to discuss DayPilot.


 

Previous

Archives