Im trying to make the initial height of my scheduler to match the screen size of the user, so far my height is fixed to 1000px but I would like to know if there's a way to change this dinamically to adjust the screen.
Also is there a way to adjust the height of the scheduler based on the collapsed grouped events?, like on initial load all groups are expanded so the height should be 'x' but if user collapse all groups it should think to match the collapsed height how can I do this?
Picture of initial load

Picture after collapsed groups:

We can see all the white space that I would like to shink if groups are collapsed and expand if they are expanded.