I have a panel that contains three VBoxes. Each VBox contains 3 datagrids. The panel's height and the heights of the VBoxes are set to 100%.

I also have a function that shows and hides the datagrids inside the top VBox by toggling their rowHeight between 0 and 14 and their visibility between true and false.

How do I get the panel container to recalculate its height depending on whether the datagrids in the top VBox are showing or hidden? And - is this the most efficient way to show/hide the datagrids?








Reply via email to