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

Anything new on 100% height issue as described here:

Asked by Peter D
7 years ago.

http://forums.daypilot.org/Topic.aspx/1952/100-height-for-scheduler-heightspecparent100pct-not-working

I would like the user to be able to resize the window and have the scheduler dynamically adjust based on the available size of the window.

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

DayPilot detects window size changes automatically and it will adjust the height of the Scheduler control to match the parent element height if HeightSpec is set to "Parent100Pct".

The key here really is to set the height of the parent element properly. You can use the method outlined here:

http://kb.daypilot.org/22832/how-to-use-scheduler-with-100-height/

It's also possible to position the parent element using left, right, top, bottom CSS properties:

<style>
.parent {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 100px; /* 100px margin at the top */
  bottom: 50px; /* 50px margin at the bottom */
}
</style>

...

<div class="parent">
  <DayPilot:DayPilotScheduler ... HeightSpec="Parent100Pct" />
</div>

Let me know if it didn't help.

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