Results 1 to 3 of 3

Thread: Newslist questions

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    35

    Default Newslist questions

    I will make a newslist with news items grouped by the date of posting. For this i will take the Ext.List. Is it possible to add the pullrefresh on a list or works it only on a dataview?

    How can i say to my store to load 40 items on the beginning and when the user scroll down load 10 items under the early loaded items?

    Thanks for reading!

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,451
    Answers
    3997

    Default

    The pull refresh plugin works with List.

    Set the pageSize of the store to 40. Then after the first load set the pageSize to 10.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    35

    Default

    Thanks! Whats the best event for loading new items when a user is on the bottom of the list? When you scroll down by the facebook app it's load automatic new posts, the user don't have to click on 'Loading more' text.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •