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();
}
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();
}