Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    4
    Vote Rating
    0
    zippo_yp is on a distinguished road

      0  

    Default Picker items not showing in 2.1.0

    Picker items not showing in 2.1.0


    I have a question about the Picker in the sencha touch 2.1.0, it seems a bug to me.
    and this is my code in my controller, triggered by a button action.
    PHP Code:
    var picker Ext.Viewport.add
                                       {           
                                           
    xtype'picker',            
                                           
    height 500,            
                                           
    doneButton'Choose',            
                                           
    cancelButtontrue,            
                                           
    toolbar: {                
                                                           
    ui'light',                
                                                           
    title'Choose a Customer'            
                                          
    },            
                                          
    slots: [                   
                                                      {                        
                                                         
    name 'customer',                        
                                                         
    title'Customer',                       
                                                          
    data : [                            
                                                                      {
    text'Test1'value50},                            
                                                                      {
    text'Test2'value100},                            
                                                                      {
    text'Test3'value200},                            
                                                                      {
    text'Test4'value300},                            
                                                                      {
    text'Test5'value300},                            
                                                                      {
    text'Test6'value300}                       
                                                                    ]                    
                                 }           
                       ]        
        }); 
    and no matter how I set the the slots (in config and out of config), the slots items wont show up! this is the screenshot.
    Attachment 40449

    and the same code, if I use ST 2.0.1, it will show up without problem. like below
    Attachment 40450

    I also found, in the ST 2.1.0, if I put the slots into the config, then picker.getSlots() wont return any items, but if it is outside of config, then getSlots() does return the items, is it supposed to be in config??

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,672
    Vote Rating
    748
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Using your code with 2.1.0 (no custom CSS) it works for me:

    Screen Shot 2012-11-29 at 12.31.44 PM.jpg
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    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.

  3. #3
    Sencha User
    Join Date
    May 2011
    Posts
    4
    Vote Rating
    0
    zippo_yp is on a distinguished road

      0  

    Default what is ur st version

    what is ur st version


    Is it ST2 .1.0 beta3?

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,672
    Vote Rating
    748
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    no, 2.1.0
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    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.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar