I defined an Ext.window and there is a form inside it,and form contains a grid. when I am trying to show it via window.show() on a button click for the first time, its working fine,
But when I am clicking button for the second time “this.object is null or not an object, line:12” error is coming up.I am loading gridstore on click of button.
somebody plz help.
I defined an Ext.window and there is a form inside it,and form contains a
Share
What is your closeAction for the window? If it is “destroy”, which is the default, that will destroy all child elements. Try setting your window’s “closeAction” to “hide”.