Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8761565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:18:55+00:00 2026-06-13T15:18:55+00:00

i am trying to get infinite scroll to work and have gone thru the

  • 0

i am trying to get infinite scroll to work and have gone thru the relevant blogs and posts but cannot figure out why when my verticalscroller reaches the numfromedge it does not fire any request to the server ?

Have i understood this correctly, that when the vertical scroller reaches the numfromedge a request will be fired by the store to the server ? which implies that on the server side we have to manage the querying and return by pages ?
or do i return all records at once from the server ? Because if i set the leadingBufferedZone to say 100 and purgePageCount to 0 then there are there are about 7 requests made each of size 50 to the server ? But in this case as you can see this does not happen on numfromedge but right at the beginning …

My grid

Ext.define('AM.Something', {
extend : 'Ext.grid.Panel',
alias : 'widget.something',
title : 'something',
store : 'somethingStore',
    verticalScroller: {
        numFromEdge: 10,
        trailingBufferZone: 10,
        leadingBufferZone: 10
    },
verticalScrollerType: 'paginggridscroller',
invalidateScrollerOnRefresh: false,
disableSelection:true,

selType : 'rowmodel',
features : [ somefiltering],
plugins : // Row editing plugin ....

My Store

Ext.define('AM.somethingStore', {
extend: 'Ext.data.Store',
model: 'AM.somethingModel',
autoLoad : true,
autoSync: true,
//    remoteSort:true,
buffered : true,
//    leadingBufferedZone:100,
//    purgePageCount:0,
pageSize:50,
proxy: {
    type: 'ajax',
    api :
        {
            read : 'something/fetch',
            update:'something/update',
            create :'something/create',
            destroy : 'something/delete'
        },
    reader :
        {
        type : 'json',
        root : 'someList.content', // an array of rows for the grid
        successProperty : 'success',
        idProperty : 'id',
        totalProperty: 'total'
        },

    writer :
        {
        type : 'json',
        allowSingle : true
        }

}

I use spring-data and spring controllers at the backend

  @RequestMapping(value = "/something/fetch", method = RequestMethod.GET)
public @ResponseBody
Map<String, ? extends Object> fetchPricing(@RequestParam Integer page,  @RequestParam Integer limit ) {
 Page<Somethings> someList= someService.fetchSomething(page-1,limit);
 Map<String, Object> responseMap = new HashMap<String, Object>();
 responseMap.put("success", true);
 responseMap.put("someList", someList);
return responseMap;
    }

I was expecting that when the scrollbar would reach within 10 of the last records displayed in the grid the store would send a request to the server for page2 and the pagesize limit ..

Is there anything configured incorrectly ?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T15:18:57+00:00Added an answer on June 13, 2026 at 3:18 pm

    Store

    //autoLoad : true,
    autoSync: true,
    //remoteSort:true,
    remoteFilter:true,
    buffered : true,
    leadingBufferedZone:200,
    purgePageCount:0,
    pageSize:50
    

    Grid

    verticalScroller: {
            numFromEdge: 10,
            trailingBufferZone: 10,
            leadingBufferZone: 10
        },
    verticalScrollerType: 'paginggridscroller',
    invalidateScrollerOnRefresh: false,
    disableSelection:true,
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get infinite scroll to work with masonry on a WordPress install,
Im trying to get infinite scroll inside of a div to work based off
I'm trying to make an infinite round rectangle, but I cant seem to get
I am trying get Struts 2 and Tiles to work and I am using
Trying to get this expression to work, can someone look at it and tell
I am trying to use GridStore of mongodb, I have a wierd infinite loop
I need to combine Expression Engine with http://www.infinite-scroll.com . I have tried numerous ways
I just trying to add a js file but I cant get it to
I am trying to support infinite scroll in tableview. I know tableview lets scroll
I'm trying to set up a custom infinite scroll with jQuery and some Ajax.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.