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

The timeHeaderCellDuration property does not produce specified time interval cells

Asked by RajeshB
10 years ago.

I'm working with the Daypilot Event Calendar Pro javascript(version - 1418).
I'm trying to achieve 15 minute time header intervals using the timeHeaderCellDuration = 15; property, but it does not produce 15 minute intervals for me.
Do i need to write script in dpc.onBeforeTimeHeaderRender event to achieve this?

Kindly help me to fix this problem.

Fiddle can be found here:http://jsfiddle.net/RajeshBoora/bap832e7/

Answer posted by Dan Letecky [DayPilot]
10 years ago.

This issue is now fixed in the latest build (7.9.1426).

The jsfiddle now works fine. You can customize the time header HTML using onBeforeTimeHeaderRender:

http://doc.daypilot.org/calendar/time-header-customization/

Comment posted by RajeshB
10 years ago.

Thanks for your quick reply.

Comment posted by RajeshB
10 years ago.

Hi Dan,
The timeHeaderCellduration property is working fine but it is not considering the
cellDuration = 15,
timeHeaderCellduration =15,
dayBeginsHour: 7,
dayEndsHour: 18 properties.
To achieve this, i have changed properties to
dayBeginsHour: 28, (this is straight forward, from 12am to 7am i.e., 7* 15 =28)
dayEndsHour: 39, I didn't understand this part.

Could you please help me?

Fiddle can be found here: http://jsfiddle.net/bap832e7/3/

Comment posted by RajeshB
10 years ago.

small correction to above question:
dayBeginsHour: 28, (this is straight forward, from 12am to 7am i.e., 7 * 4 =28)
I'm using the version 7429.
And the events are also disappeared when i'm using below proprties:
dayBeginsHour: 28,
dayEndsHour: 39.

Comment posted by RajeshB
10 years ago.

I'm using the version 1429**

Comment posted by Dan Letecky [DayPilot]
10 years ago.

There was one more bug that displayed incorrect hour headers. It's fixed now in 1432.

I have updated the jsfiddle a bit:

http://jsfiddle.net/bap832e7/4/

The events are moved to the init options and dayBeginsHour and dayEndsHour are switched back to the intended values.

Comment posted by RajeshB
10 years ago.

Thanks Dan...

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