PDA

View Full Version : Element is gone after being rendered in ext window when using el/contentEl



rmd
26 Jan 2011, 11:53 PM
Hi there,

I'm creating a window with a predefined element within it. So I've used el/contentEl property of an ext box component. But the problem is that it only works for the first time. When opening the same window again, an error will occur saying 'this.el is undefined'. I knew that it's because the element is gone after being rendered on window when using el/contentEl property. Is there a way so that I can retrieve the said gone element? or maybe just telling the el/contentEl not to remove or delete the element after rendering? Any config available?

Any help please.. Thanks.