Row height - how to set maximum, but dynamically fit

Is there a way to set a maximum row height, for multiline grid rows, and then reduce the row height dynamically to fit data that does not need the full height?

Thank you!

Unfortunately such feature is not available.