PDA

View Full Version : Can't reference added carousel



bstras21
19 Nov 2011, 7:09 PM
Hello, I am adding a carousel on the fly and I can't seem to reference it. If I add it normally I can reference it. I am doing this in a callback function in the controller. Do I need to 'refesh' the controler after I add the carousel?

Ext.getCmp('MainAppDataView').add([carousel]);

Thanks

mitchellsimoens
20 Nov 2011, 12:49 PM
What do you mean you can't reference it?

bstras21
20 Nov 2011, 12:58 PM
I changed up my structure and I was able to get it.