PDA

View Full Version : Ext Window Issue happening while clicking on the node of Tree......



sankarbaluz
30 Aug 2011, 5:28 AM
Hi,
I am SankaraNarayanan.I am facing a problem of clicking particular node of tree that should the window dynamically.The problem is that while clicking a node of tree,the window will show perfectly.While closing the window,it will close perfectly...But the problem will start with the 3rd click on the node.The window will not open.But the problem occurs only on IE.For firefox,it will work perfectly.So please help me out for this.



Tree Node
var treePanel = Ext.create('Ext.tree.Panel', {
store: store,
rootVisible: false,
useArrows: true,
frame: true,
region:'west',
width: 250,
autoHeight:true,
// height: 80,
listeners: {
itemclick : function(view,rec,item,index,eventObj) {
if(rec.get("text")=="Container Dispatch Advice"){
callContainerDispatchAdvice(rec.get("id"));
}

}
}

});








function callContainerDispatchAdvice(getID){

new Ext.Window({
id:"idContainer"+getID,
scope:this,
autoHide:true,
shadow:false,
//draggable:false,
title: 'Hello',
resizable: true,
minimizable: true
}).show();

}

skirtle
30 Aug 2011, 8:14 AM
You say it won't open but you don't say what does happen. For example, do you get an error? Does it matter which node you click on?

Which versions of IE have you tried? Which ExtJS version are you running?

Try removing the id from the window, they usually cause trouble.