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

Adjusting the Scheduler Grid height according to screen size

Asked by B
7 years ago.

Hello there

Is there any quick way to adjust the scheduler height according to teh screen size. Can i do that dynamically/

Thanks
B

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

It's possible to set the height to 100% of the parent element using HeightSpec = Parent100Pct option:
https://doc.daypilot.org/scheduler/100-pct-height/

Just set the parent element position using CSS (e.g. top, bottom, left, right). The Scheduler height will be adjusted automatically on every window size change. You can also request a manual adjustment by calling .show() on DayPilot.Scheduler object on the client side.

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