I have a grid inside a window. I want my grid
listen when the window
close I will do reload my store
.
Any idea? How to do that thanks so much.
0
votes
1 Answers
2
votes
You can attach a listener to the Window for the close event.
...
listeners:{
close:function(this) {
this.down('grid').getStore().load();
}
scope:this
}
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.window.Window-cfg-listeners