I am using a panel bar in a splitter and attempting to make the panel content take up the whole pane. I am able to change the panel content size successfully, however when a height change is applied to the first element, it expands it automatically. If I exclude the first panel from the height change, then there is no expansion of the panel.
The below panelContent class is the style applied to the panel content. The only thing it contains is overflow: auto. Now the below line is how I'm trying to change the height of the panels when the page loads to get a calculated height of the side pane.
$(".panelContent").height(200);
Is there a better way to get the panel content to resize so it takes up the full height of the pane? Alternatively, is there a way to prevent the first panel from expanding when you change the height with jquery? Are there easier ways to access the height of the panel content?
Thanks for any help,
Alex
The below panelContent class is the style applied to the panel content. The only thing it contains is overflow: auto. Now the below line is how I'm trying to change the height of the panels when the page loads to get a calculated height of the side pane.
$(".panelContent").height(200);
Is there a better way to get the panel content to resize so it takes up the full height of the pane? Alternatively, is there a way to prevent the first panel from expanding when you change the height with jquery? Are there easier ways to access the height of the panel content?
Thanks for any help,
Alex