View Full Version : No controller.render callback?

21 Dec 2010, 4:15 PM
Is there a way to render a view in a controller, and create a callback to add the view to another container. The reason I ask is because before the panel actually finishes loading it appears to be added to the viewport before its finished causing issues in animations.

I did a test where I cached the rendered views and found it sped up performance in rendering extremely well but this technique failed when the user changes the devices orientation which I don't want to have to handle explicitly.

I wish we had something like this in a controller:
xtype: 'panel'
}, function() { //do stuff here });