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

  • SEARCH
  • Home
  • 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 9130373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:57:13+00:00 2026-06-17T07:57:13+00:00

is it possible to have infinte scrolling in a extJS (4.1) grid, whose data-store

  • 0

is it possible to have infinte scrolling in a extJS (4.1) grid, whose data-store is loaded manually?

myStore = Ext.create('Ext.data.Store', {
    fields:givenStoreFields,
    data: [[]],
});

myGrid = Ext.create('Ext.grid.Panel', {
    store: myStore,
    columns: givenColumns,
});

In my case I fetch data from the server, the data is tweaked, and then loaded into the store manually.

myStore.loadData(fetchedAndTweaked);

Since fetchedAndTweaked contains many rows, rendering is very slow, and slows the entire browser. Therefore I want to add parameters to myGryd and myStore to have “infinite” scrolling (on the data-set fetchedAndTweaked).

However: All examples I find, the dataStore has some proxy/reader etc.

//Thanks

  • 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-17T07:57:15+00:00Added an answer on June 17, 2026 at 7:57 am

    You can, if you use buffered: true config on your store as described in the Ext JS 4.1.3 docs:.

    buffered : Boolean Allows the Store to prefetch and cache in a page cache, pages of Records, and to then satisfy loading requirements
    from this page cache.

    To use buffered Stores, initiate the process by loading the first
    page. The number of rows rendered are determined automatically, and
    the range of pages needed to keep the cache primed for scrolling is
    requested and cached. Example:

    myStore.loadPage(1); // Load page 1
    

    A PagingScroller is instantiated which will monitor the scrolling in
    the grid, and refresh the view’s rows from the page cache as needed.
    It will also pull new data into the page cache when scrolling of the
    view draws upon data near either end of the prefetched data.

    The margins which trigger view refreshing from the prefetched data are
    Ext.grid.PagingScroller.numFromEdge,
    Ext.grid.PagingScroller.leadingBufferZone and
    Ext.grid.PagingScroller.trailingBufferZone.

    The margins which trigger loading more data into the page cache are,
    leadingBufferZone and trailingBufferZone.

    By default, only 5 pages of data are cached in the page cache, with
    pages “scrolling” out of the buffer as the view moves down through the
    dataset. Setting this value to zero means that no pages are ever
    scrolled out of the page cache, and that eventually the whole dataset
    may become present in the page cache. This is sometimes desirable as
    long as datasets do not reach astronomical proportions.

    Selection state may be maintained across page boundaries by
    configuring the SelectionModel not to discard records from its
    collection when those Records cycle out of the Store’s primary
    collection. This is done by configuring the SelectionModel like this:

    selModel: {
        pruneRemoved: false
    }
    

    Defaults to: false

    Available since: 4.0.0

    As noted above, you will also have to set thepageSize config on the store to what you want it.

    A word of warning: you don’t find any examples of local stores with infinite scrolling because the number of records to make infinite scrolling viable exceeds the number of records which you should reasonably keep in a local store.

    In other words the rendering is not the only thing that slows down the browser, it’s also the amount of data you are trying to process locally.

    If you feel you need to implement infinite scrolling it’s probably time to convert to a remotely loaded data store.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to simulate infinite scrolling for json data. I have 10K records
Possible Duplicate: Define a method that has many (or infinite) arguments I have the
Is it possible have two projects with the same name in flex builder? Here
is possible to have a separator between elements of a GridView? Thanks
Is it possible to have a many to many relationship between two tables, and
Is it possible to have a free iPhone app that has say an initial
is it possible to have a specific element on top of the list? backgoround:
Is it possible to have multiple backend user group access lists in Typo3? For
Is it possible to have an iframe in the shape of a hexagon or
Is it possible to have multiple inputs with multiple different mappers in Hadoop MapReduce?

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.