Dynamic height of window

Is it possible to have dynamic height of dhxWins control, according to content height?

For example if I have layout with cells attached to window. If I collapse one cell I would like to reset height of entire window and set value based on new collapsed content height.

Any suggestion would be welcome.
Thank you in advance.

Regards,
Alan

If I use onCollapse event and decrease height of window, onExpand event doesn’t work.

Hello
Answered in support