Results 1 to 4 of 4

Thread: How to add a user class name to a container within a container

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Renfrew
    Posts
    74
    Vote Rating
    2
      0  

    Default How to add a user class name to a container within a container

    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:

    Code:
    var userdata = new Ext.getCmp('childcontainer');
    userdata.setData(record.data);
    However, immediately above I activate the parent, so in my mind I "should" have access somehow to set the data of the child container:

    Code:
    this.myContainer = Ext.create("MyApp.view.ParentContainer");
    Thanks for any insight.

  2. #2
    Sencha User Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Vote Rating
    65
      0  

    Default

    you can use itemId or Id as well
    Phil Strong
    @philstrong

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Location
    Renfrew
    Posts
    74
    Vote Rating
    2
      0  

    Default

    I'm not sure what you mean

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
      0  
    Bharat Nagwani
    Sencha Designer Development Team

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •