Opening and Closing WIndow
I have a window called from a grid that launches a window, If I launch just one window, I can drag it any where I want, but If I open the same window twice it becomes undraggable, how do I resolve this. Also if I call a close operation on this window, it closes just one of the window and leaves the other. Can anyone help with this ?
Ext.Window({
title:id.text,
autoHeight: true,
width: 500,
id:'form1',
resizable: false,
plain:true,
y: 100,
autoScroll: true,
//layout: 'fit',
buttonAlign:'center',
items: [{
xtype:'form1'
}],
buttons: [{
text: 'Save',
handler: function(){
}
},{
text: 'Reset',
handler: function(){
}
}]
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.