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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,026
    Answers
    3976
    Vote Rating
    1367
      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
    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
  •