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

how to add time on the left and resource on the top side

Asked by Anonymous
13 years ago.

i am using daypilot scheduler i want time on the left and resource on the top please provide me any solutions for that.

Comment posted by Dan Letecky
13 years ago.

This is not possible with the Scheduler.

But you may want to check Calendar in Resources mode:

Comment posted by varsha
13 years ago.

ok thanks i have tried it in calendar its working fine.

is it possible when calender is load first time then it shows current year in left corner, it showing demo.

Comment posted by Dan Letecky
13 years ago.

Yes, the corner HTML can be set using BeforeHeaderRender, check for e.IsCorner.

Example from Demo/Calendar/Default.aspx.cs:

protected void DayPilotCalendar1_BeforeHeaderRender(object sender, BeforeHeaderRenderEventArgs e)
{
  if (e.IsCorner)
  {
    e.InnerHTML = String.Format("<div style='padding:2px; text-align:center; font-weight: bold;'>{0}</div>", DayPilotCalendar1.StartDate.Year);
  }
}
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.