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

DayPilot Lite 2.x when embedded within div causes the events to show outside of the control

Asked by Anonymous
16 years ago.
I am currently working with the the Lite 2.x version, and wrapped the control in a div tag with auto scrolling turned on. When the page renders I noticed that the events where being displayed on the page incorrectly. Basically since the control is showing all 24hrs, I have it only showing half of it and the users scroll. I didn't see an option on the control to limit the controls height.
Comment posted by Dan Letecky
16 years ago.
You should take a look at NonBusinessHours property. The default value is HideIfPossible. That means that business hours will always be visible and the rest of the hours will be visible if there is any event (outside of the business hours).

The DayPilot Lite 2.2 is not compatible with scrollable div. This problem will be fixed in DayPilot Lite 2.3.
Comment posted by Dan Letecky
16 years ago.
...and if you set NonBusinessHours to Hide then only the range determined by BusinessBeginsHour and BusinessEndsHour will be visible.
Comment posted by Anonymous
16 years ago.

Thanks, Do you know if this issue exists in the Pro version?

Also, the business hours is somewhat irrelavant(sp) on this application as this business is open 24x7 so business hours are set from 0 to 24, and the user needs to see all, just didn't want to have the entire page scrollable for visual apperances.

Comment posted by Dan Letecky
16 years ago.
DayPilot Pro has the scrollbar integrated. Even if you decide to turn off the internal scrollbar and put the control inside a div with scrollbars it is working fine.
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.