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
    Posts
    1
    Vote Rating
    0
      0  

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

    hi,

    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).


    Mix_Options.png

    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?

    Thanks!

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1382
      0  

    Default

    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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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