Results 1 to 3 of 3

Thread: Can't reference added carousel

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    73
    Vote Rating
    -1
      0  

    Default Can't reference added carousel

    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

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    What do you mean you can't reference it?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    73
    Vote Rating
    -1
      0  

    Default Nevermind

    I changed up my structure and I was able to get it.

Tags for this Thread

Posting Permissions

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