Results 1 to 2 of 2

Thread: create dynamic picker

  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    18
    Vote Rating
    0
      0  

    Default create dynamic picker

    hi
    i want to create dynamic picker in my app.but i am unable to do.here is code .https://www.dropbox.com/s/9jua6jq4p5k2rsw/Main.js
    help me
    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

    This is working for me:

    Code:
    Ext.Viewport.add({
        xtype : 'picker',
        slots : [
            {
                name  : 'limit_speed',
                title : 'Speed',
                data  : [
                    { text : '50 KB/s',  value : 50  },
                    { text : '100 KB/s', value : 100 },
                    { text : '200 KB/s', value : 200 },
                    { text : '300 KB/s', value : 300 }
                ]
            }
        ]
    }).show();
    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
  •