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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      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
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    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
  •