PDA

View Full Version : Change panel region on the fly



mjhaston
17 Jan 2013, 9:39 AM
Similar to how Outlook allows you to tell it where you would like your preview pane ... right, left, top, bottom ... I would like to change a preview pane in a viewport. Currently I have a grid in the north and preview pane in the center. I'd like to allow the option with a menu button to change the grid's region to west or east.

Is this possible? Do I need to think about this by way of removing the grid and then adding it back where I want it? I haven't done that yet either!

slemmon
17 Jan 2013, 10:19 AM
Check out this example it does what you're asking about.
http://cdn.sencha.com/ext-4.1.1a-gpl/examples/feed-viewer/feed-viewer.html

Up top is a "preview panel" cycle button that does the re-docking like you're asking about.

mjhaston
17 Jan 2013, 11:54 AM
Excellent. Thanks!

slemmon
17 Jan 2013, 11:57 AM
Cool. This one answered then?
:)