Dynamic resizing of pop-up window

Dynamic resizing of pop-up window

  

I have a table records widget in a pop-up window, with a filter to select the records in the table record. Is there a way to dynamically resize the pop-up window depending on the number of rows in the table records widget? If I do not specify the height of the popup, it defaults to the height of the filter + an empty table records widget, but when the widget is populted, a scroll bar appears (because the widget grows taller, but the windows doesn't).

Hi Kilian,

Try the solutions described in this post, and see if any of them help.

That is a common problem, and I am not sure there is an easy way to make it work, since it is always on a case by case scenario.

Regards,

Paulo Tavares
Hi Paulo, thanks for the link, it works like a charm! Don't know why I couldn't find it myself, I'd been searching for a while.
Hi Kilian,

Which solution worked for you, by the way? The eSpace one, or did you use direct Javascript code?

Regards,

Paulo Tavares
I copied the stuff from the eSpace. I'm not too versed in JavaScript, so I opted for a ready-to-use solution.