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

How to stop scheduler overspilling parent when have an expanding header

Asked by Anonymous
3 years ago.

I have the scheduler set to heightSpec="Parent100Pct". The container around my scheduler changes height dynamically due to an expanding header. When the header expands, the scheduler extends beyond the parent by the same amount the header has expanded by making some of the rows not visible.

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

The changes of the parent height are not watched dynamically. It's only recalculated if the window is resized. You can invoke a manual recalculation by calling show() after the header height is changed:

dp.show();

See also:
https://api.daypilot.org/daypilot-scheduler-show/

Comment posted by Anonymous
3 years ago.

Brilliant, thank you

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