Home Unanswered Active Tags New Question

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

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

Asked by Anonymous 1 year ago.
Replies

This is not possible with the Scheduler.

But you may want to check Calendar in Resources mode:

Comment posted by Dan Letecky 1 year 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 varsha 1 year 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);
  }
}
Comment posted by Dan Letecky 1 year ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java