14 Dec 2011 5:12 AM #1
Unanswered: how to select objects from other models on a config-panel?
i'm new in developing of sencha touch apps.
i created a config view (FormPanel) with a couple of fields (different textfields and togglefields) on a fieldset in my application. Now, i want to add an entry (e. g. "Current user") for selecting an object from my user-model. Here an example what i want to do (screenshot from my ipod: configuration -> music -> e.g. equalizer).
As a result, I imagine the following sequence before in my application: After selecting the new option "Current User" the config-view switched to another view e. g. "userlist". in this overview i can add, delete or select an entry. the selected object (user) will be transfered to the config view after clicking on a [done]-button.
What is the recommended way to do this?
14 Dec 2011 7:14 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You need to have a panel using card layout. The screenshot provided should be the first/second whatever... then when someone taps on an item, you add a component to the end and animate to it. When you go back, remove that last component.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
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.