var dp = new DayPilot.Scheduler("divScheduler");
dp.heightSpec = "Fixed";
dp.height = 1200;
Comment posted by Dan Letecky [DayPilot] 11 years ago.
For .heightSpec = "Parent100Pct" to work the parent element height has to be either fixed (style="height:1000px" or style="position:absolute;top:0px;bottom:0px") or the percentage height has to be set on all ancestors up to <html> element (or another element with fixed height).
This is by definition - you need at least one fixed height in the chain if you are using percentage height. By default the div height is determined from its content. This determines the parent height - up to the top level. When using 100% on the bottom level (without setting the reference point using "position" style) the browser doesn't know how to set it - 100% of what? In this case the fixed point has to be the browser window and all children heights need to be derived from that.