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,553
    Answers
    3931
    Vote Rating
    1272
      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! Checkout the CODE tag!

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

  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
  •