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

How to Add Date with Day like (Mo, Tue, We, Thu, Fri, Sat, Sun) in two rows in header

Asked by Amit Prajapati
9 years ago.

Dear Sir,
We are using the daypilot scheduler for asp.net web forms, we are stuck in one of the functionality where we wants to display the Date with Day in two rows on header part.

e.g.
1 2 3 4 5 6 7 8 9 10
M T W T F S S M T W

Kindly suggest how can we do the same.

Answer posted by Dan Letecky [DayPilot]
9 years ago.
You can use the following configuration:
<DayPilot;DayPilotScheduler
...
>
  <TimeHeaders>
      <DayPilot:TimeHeader GroupBy="Day" Format="%d" />
      <DayPilot:TimeHeader GroupBy="Day" Format="ddd"/>
  </TimeHeaders>
</DayPilot:DayPilotScheduler>

You can further customize it using BeforeTimeHeaderRender event:

http://doc.daypilot.org/scheduler/time-header-customization/

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