PDA

View Full Version : Maximize Grid in Panel



ndadosky
9 Nov 2010, 9:56 AM
I have a grid that is in a panel and its width is 700. Is there a way to add a maximize button to this?

The grid scrolls to the left and right, but I would like to enable the user to make the grid full screen if possible. Like the functionality of a window.

I've tried, resize and setWidth, setHeight already. These kind of work for me. The grid is an xtype on a panel, so when a new instance is instantiated, for some reason it stops resizing for me.

Any thoughts?