PDA

View Full Version : Alternate for setcontainer(Ext.container) in Ext js 4



vigneshwaranv
21 Jan 2013, 6:53 AM
Hi ,

I am working on Extjs 3 to 4 migration while migrating i am unable come across this Extjs 3 layout code what is the alternate code in Ext js 4. Pls itz urgent.

// Ext.override(Ext.container.Container, {// setLayout: function (layout) {
// if (this.layout && this.layout != layout) {
// this.layout.setContainer(null);
// }
// this.layout = layout;
// this.initItems();
// layout.setContainer(this);
// } // });

Thanks and Regards,
vigneshwaranv

mitchellsimoens
23 Jan 2013, 10:19 AM
What are you trying to accomplish? setOwner and configureItem in the layout set the owner and ownerCt properties on the child items.