Home Unanswered Active Tags New Question

Scheduler per year

I have to do a scheduler per year

The best would be like this:

show month by column January - february-March ....

show working days: 21 20 22

and then resources and events.

Is it possible?

Thank you

Stphane

Asked by Anonymous 2 years ago.
Replies

Yes, it's possible. Here you can see something similar but showing one week per column. You can switch to one day per column by modifying CellDuration property to 1440 (one day has 1440 minutes).

http://www.daypilot.org/demo/Scheduler/Year.aspx

Answer posted by Dan Letecky 2 years ago.

You can also hide weekends by using ShowNonBusiness=true. In the BeforeTimeHeaderRender you can show/hide individual columns:

protected void DayPilotScheduler1_BeforeTimeHeaderRender(object sender,
    DayPilot.Web.Ui.Events.BeforeTimeHeaderRenderEventArgs e)
{
   if (!e.IsColGroup) {  // visibility can't be set for column groups
     if (e.Start.DayOfWeek == DayOfWeek.Saturday || e.Start.DayOfWeek == DayOfWeek.Sunday)
     {
       e.Visible = false;
     }
   }
}

See also:

Answer posted by Dan Letecky 2 years ago.

Thank you

But I didn't find how to show 1 month per month... not 3 or 4 weeks per month.

I tried - unsuccessfull- to change de cellduration property...

I've found an another solution. So thank you.

Comment posted by Stéphane 2 years ago.

care to tell us what your other solution was???

Comment posted by Anonymous 1 year ago.
New Reply
This reply is
Your name (optional):

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