extjs reuse object
- by hafizan
If I had:
var x = new Ext.form.formPanel({
});
I wanted to reuse in two places, e.g.:
var panel1 = new Ext.panel({ items:[x] });
var panel2 = new Ext.panel({ items:[x] });
Have try method Ext.extend but it did not work. If I do that it only renders one time on the page.