-
12 Jan 2012 1:42 AM #1
Answered: NestedList: possible to "setDetailCard" to another view?
Answered: NestedList: possible to "setDetailCard" to another view?
Hi,
i'm trying to change the view of a NestedList Detail Card.
using:
writes the second view into the DOM, but doesn't change it on screen.Code:setDetailCard(another view);
any idea?
greets
-
Best Answer Posted by mitchellsimoens
You want it to automatically switch? You will need to use setActiveItem to switch
-
12 Jan 2012 6:44 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
- Answers
- 3111
You want it to automatically switch? You will need to use setActiveItem to switch
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
12 Jan 2012 7:23 AM #3
thx alot! ... that was the problem ... we figured it out ourselfs an hour ago

-
18 Jan 2012 4:00 AM #4
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


Reply With Quote