Results 1 to 4 of 4

Thread: Infinite scroll and MVC

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2010
    Location
    Wellington, New Zealand
    Posts
    123
    Answers
    1

    Default Infinite scroll and MVC

    Let's say we follow an original article http://www.sencha.com/learn/the-mvc-...n-architecture and have such store:

    Code:
        Ext.define('AM.store.Users', {
            extend: 'Ext.data.Store',
            model: 'AM.model.User',
            autoLoad: true,
         
            proxy: {
                type: 'ajax',
                url: 'data/users.json',
                reader: {
                    type: 'json',
                    root: 'users',
                    successProperty: 'success'
                }
            }
        });
    And we decided to implement an infinite scrolling grid. To do that we need to remove `autoLoad: true` and invoke `store.guaranteeRange(...)` manually.


    So what is the best place for doing so?

  2. #2
    Sencha User
    Join Date
    May 2010
    Location
    Kiev, Ukraine
    Posts
    156
    Answers
    15
    Vitaliy Khmurach
    Web Developer
    https://ext4all.com

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    221
    Answers
    10

    Default

    I think following links would help you.

    http://www.sencha.com/blog/infinite-...ng-in-ext-js-4

    And this is a must read.

    http://www.sencha.com/forum/showthre...rolling-in-4.1

    I hope this information will help you.

  4. #4
    Sencha Premium Member
    Join Date
    Apr 2010
    Location
    Wellington, New Zealand
    Posts
    123
    Answers
    1

    Default

    Actually I just migrated to 4.1 everything became good

    Thanks :-)

Posting Permissions

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