View Full Version : Navigation between list->details screen
25 Nov 2010, 12:10 PM
I want to make a list-details application using sencha touch. I populated the list and the next thing is to show the details of the tapped item, having the possibility to go back to my list. What I should do first is to handle the itemtap event, adding a listener for that event in my list. But the question I want to do comes after that. What should I do next? How can I navigate between pages? I tried to understand with the examples, mainly of kitchen sink but I didn't understand. Thanks in advance for your time.
25 Nov 2010, 4:40 PM
Use a card layout. The list is your first card, the detail is your second card. Call setActiveItem on the container when you want to change cards.
26 Nov 2010, 6:20 AM
How can I take the panel of the list which caused the tap event in order to call setActiveItem? Moreover, sometimes when I try to call setActiveItem I get an error that says the panel does not contain this method... :(
Powered by vBulletin® Version 4.1.5 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.