1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    51
    Vote Rating
    0
    whiplash is on a distinguished road

      0  

    Question The Ext.List keeps bouncing back to the top when user tries to scroll

    The Ext.List keeps bouncing back to the top when user tries to scroll


    Hi Guys,

    I have an Ext.List and use an Ext.XTemplate to structure the styling and data from the store.

    I browsed for the site via my Android phone and the list does not allow the user (me) to see the list items that are beyond the visible area of the screen.

    Any ideas how I could make the list scroll properly?

    Many Thanks

    Whiplash

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,677
    Vote Rating
    749
    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


    The parent component to the Ext.List needs to use a layout that manages the list's height like fit layout or card layout
    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
    Sep 2011
    Posts
    51
    Vote Rating
    0
    whiplash is on a distinguished road

      0  

    Default has a fit and card layout

    has a fit and card layout


    Hi Mitchell

    thanks for the reply

    I have a viewport of new Ext.Panel with layout 'card' which adds the assetsListContainer to its items array which itself has a layout of 'fit' and adds the Ext.List content then ....

    PHP Code:
    App.views.viewport = new Ext.Panel({            
    fullscreentrue,            
    layout'card',            
    cardAnimation'slide',            
    items: [App.views.assetsListContainerApp.views.assetDetail]        
    })

    App.views.assetsListContainer = new Ext.Panel({            
    id'assetsListContainer',            
    layout'fit',            
    scroll'vertical',            
    dockedItems: [App.views.assetsListToolbar],            
    items: [App.views.assetsList]        
    });

    App.views.assetsList = new Ext.List({

    ...
    }); 
    I'm by no means an expert, but this seems about right ... no?

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