Home Unanswered Active Tags New Question

Display 15 30 45 minutes

If I keep the cell duration as 5 minutes I see 12 slots between any 2 hours.How can I display 15, 30 & 45 mins between any 2 hours.
Thanks

Asked by Rakesh 9 months ago.
1 other person also wants an answer.
Replies

In the Calendar, it's only possible to use CellDuration values that divide an hour without any remainder. I.e. setting CellDuration="45" wouldn't work.

In the Scheduler, it's possible to use any positive integer value as CellDuration.

It's also possible to hide individual columns in the Scheduler using BeforeTimeHeaderRender (set e.Visible = false) and ShowNonBusiness=false. See also:

http://www.daypilot.org/scheduler-hiding-non-business-hours.html

Comment posted by Dan Letecky [DayPilot] 8 months ago.

No you did not get the question right. I don't want to set the cell duration to 45 minutes. I want to set the cell duration as 5 mins. So between any 2 hours I will see 12 lines each line indication 5 minutes. Is there a way to display labels for 15, 30 and 45 minutes between any 2 hours.
See below
8 am

15-

30-

45-

9 am

Comment posted by Rakesh 8 months ago.

I see. You can do this using BeforeTimeHeaderRender event handler:

http://kb.daypilot.org/75335/how-to-show-precise-time-in-the-calendar-row-headers/

Answer posted by Dan Letecky [DayPilot] 8 months ago.

Perfect thanks. Can this be a standard feature like the others?

Comment posted by Rakesh 8 months ago.

I'm adding it to the wishlist.

Comment posted by Dan Letecky [DayPilot] 8 months ago.
New Reply
This reply is
Your name (optional):

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