View Full Version : How to add a user class name to a container within a container

4 May 2012, 5:37 AM
I have a container within a container that I would like to add a class to to the child. However, Architect does not allow me to set the class of the child container.

The root issue is that I am trying to setData to the child container (the child container has a tpl that I'm populating). I can access it like this:

var userdata = new Ext.getCmp('childcontainer');

However, immediately above I activate the parent, so in my mind I "should" have access somehow to set the data of the child container:

this.myContainer = Ext.create("MyApp.view.ParentContainer");

Thanks for any insight.

4 May 2012, 7:34 AM
you can use itemId or Id as well

4 May 2012, 7:50 AM
I'm not sure what you mean

4 May 2012, 10:53 AM
using down api