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

How to let the grid occupy the white empty space a the bottom

Asked by Anonymous
3 months ago.

Is it possible to stretch the last row to occupy the white empty space, so that the grid cover the whole space available? See please the attached screenshot

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

You can set custom row height using minHeight property (https://api.daypilot.org/daypilot-scheduler-resources/). However, it doesn't calculate the value automatically.

In order to avoid the white space, you can use heightSpec: "Max100Pct" instead of heightSpec: "Parent100Pct". This way the height will be reduced if the content doesn't fill the available space.

See also:
https://doc.daypilot.org/scheduler/height/

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