I have a docking with 3 windows stacked vertically on top of each other. Each window has a grid control in it. Can I dynamically set the height of the docked window to be the height of the grid + some space after the grid has been populated?
<div id=”docking”>
<div>
<div id=”window1″>
window w/ grid control here
</div>
<div id=”window2″
another window with another grid control here
</div>
</div>
</div>
the page loads, but the height of the grid controls is configured on load and I’d like the windows to adjust height. I can get the height
var sectionsHeight = $(‘#jpxgridSiteSections’).jqxGrid(‘height’);
sectionsHeight = sectionsHeight + 200;
but cannot figure out the right place to adjust the height of the window so it displays the entire grid.
Thanks!