Anyway - moving along...
I have a tree panel. When u click on the left node of the tree panel it opens a window.
That window has a panel that loads its content via ajax. If i close the window (win.hide) and click a leaf node link again from the tree panel the same window appears. How can i force it to load the contents on the window each time?
I tried win.close but that gave me errors.
Please please... any help would be appreciated.
Thanks guys + gals!
see code below:
Ext.onReady(function() {
var Tree = Ext.tree;
var win;
var tree = new Tree.TreePanel({
useArrows: true,
autoScroll: true,
animate: true,
enableDD: true,
containerScroll: true,
border: false,
loader: new Tree.TreeLoader({ dataUrl: 'reorder.aspx' }),
//POP THE WINDOW THAT SHOWS ALL DETAILS OF THIS FILE.......................
Ext.Msg.alert('pop', 'before WIN');
if (!win) {
Ext.Msg.alert('pop', 'after WIN');
win = new Ext.Window({
applyTo: 'hello-win',
layout: 'border',
width: 500,
height: 300,
closeAction: 'hide',
plain: true,