Results 1 to 2 of 2

Thread: how to select objects from other models on a config-panel?

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Vote Rating

    Question 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?


  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    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
    Learn BBCode and use it!

    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.

    Need more help with your app? Hire Sencha Services

    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.

Posting Permissions

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