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

Scheduler - HeightSpec.Parent100pct does not update layout when parent's height changes

Asked by Bas Brekelmans
9 years ago.

The container around my scheduler changes height dynamically due to expanding headers/footers. When I resize the window, the height gets updated perfectly, only when the header expands, the scheduler keeps it's height. Is there a way to refresh the height calculation?

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

You can use updateHeight() on the client side:

dps.updateHeight();

See also:

* http://api.daypilot.org/daypilot-scheduler-updateheight/

This only works correctly in build 6.6.2339 an later (http://www.daypilot.org/daypilot-pro-6-6.html).

In the previous build you can use dps.resize() as a workaround but it's an internal method.

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

For the MVC version, it's available in build 1.2.5351:

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