I have a panel and i am rendering it into a container. I want the panel to fit into the container height and don't want to specify the height of the panel.
But don't seem to work is there a way I could do it.
CODE SNIPPET
<div id=Div style="width: 100%; height: 100%;"></div>
var newPanel = new Ext.Panel({
id: 'newPanel',
renderTo: 'Div',
layout: 'fit',
border: false,
items: [anotherPanel]
})
any ideas please help