Home Unanswered Active Tags New Question

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

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?

Asked by Bas Brekelmans 8 months ago.
1 other person also wants an answer.
Replies

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] 7 months ago.

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

Answer posted by Dan Letecky [DayPilot] 7 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java