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

Scheduler per year

Asked by Anonymous
14 years ago.

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

Answer posted by Dan Letecky
14 years ago.

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
14 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:

Comment posted by Stéphane
14 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 Anonymous
13 years ago.

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

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