View Full Version : Advice - move tree from viewport to floating window

Keith Chadwick
18 Mar 2011, 12:26 PM
I have a standard border layout viewport and in the west region I have two tree controls entitled outline and library. The clients wish is to be able to click on one of the tools in the title of the tree and in essence undock the panel and make it a floating window. Since the dom is extrapolated from the instance of the control my thought was to simply fry the dom on the panel and shove it into the new floating Ext.Window or fry the dom and have the control rerender in the floating window. The key to this is that I want the dom structure (i.e. the tree) to be rendered in the same fashion.

Anyone have any thoughts and the best way to go about this or have had similar experience.

Thanks in advance


Keith Chadwick
19 Mar 2011, 7:56 AM
Ah hever mind got it and surprisingly simple!!