Results 1 to 4 of 4

Thread: NestedList: possible to "setDetailCard" to another view?

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Jena
    Posts
    39
    Vote Rating
    0
      0  

    Default Answered: NestedList: possible to "setDetailCard" to another view?

    Hi,
    i'm trying to change the view of a NestedList Detail Card.

    using:
    Code:
    setDetailCard(another view);
    writes the second view into the DOM, but doesn't change it on screen.

    any idea?

    greets

  2. You want it to automatically switch? You will need to use setActiveItem to switch

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,317
    Answers
    3881
    Vote Rating
    1291
      0  

    Default

    You want it to automatically switch? You will need to use setActiveItem to switch
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

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

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User
    Join Date
    Nov 2011
    Location
    Jena
    Posts
    39
    Vote Rating
    0
      0  

    Red face

    thx alot! ... that was the problem ... we figured it out ourselfs an hour ago

  5. #4
    Sencha User
    Join Date
    Jan 2012
    Posts
    15
    Vote Rating
    0
      0  

    Default

    Hi There,

    I am stuck with detailCard view change. I want to add different component to detailCard dynamically. can you help me out in this. I have been suggested to use setDetailCard method but I am not able to work around it. If possible please share some sample code. Thanks

Posting Permissions

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